summaryrefslogtreecommitdiff
path: root/runtime.ts
diff options
context:
space:
mode:
Diffstat (limited to 'runtime.ts')
-rw-r--r--runtime.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime.ts b/runtime.ts
index c34f7faac..ca2e40ba0 100644
--- a/runtime.ts
+++ b/runtime.ts
@@ -17,7 +17,11 @@ import { _global, globalEval } from "./globals";
const EOL = "\n";
// Public deno module.
-const deno = { pub, sub };
+const deno = {
+ pub,
+ sub,
+ readFileSync: os.readFileSync
+};
// tslint:disable-next-line:no-any
type AmdFactory = (...args: any[]) => undefined | object;