summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--globals.ts1
-rw-r--r--main.ts2
-rw-r--r--package.json3
3 files changed, 2 insertions, 4 deletions
diff --git a/globals.ts b/globals.ts
index e82afd75b..184f25163 100644
--- a/globals.ts
+++ b/globals.ts
@@ -1,4 +1,3 @@
-/// <reference path="./text-encoding.d.ts" />
import * as timer from "./timers";
// If you use the eval function indirectly, by invoking it via a reference
diff --git a/main.ts b/main.ts
index 10acb649f..47da3e0db 100644
--- a/main.ts
+++ b/main.ts
@@ -36,6 +36,6 @@ dispatch.sub("start", (payload: Uint8Array) => {
runtime.setup(mainJs, mainMap);
const inputFn = argv[0];
- const mod = runtime.resolveModule(inputFn, cwd + "/");
+ const mod = runtime.resolveModule(inputFn, `${cwd}/`);
mod.compileAndRun();
});
diff --git a/package.json b/package.json
index 991b7ef92..8da3f7406 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,7 @@
{
"name": "deno",
"scripts": {
- "lint": "tslint -p tsconfig.json",
- "lint-version": "tslint --version",
+ "lint": "tslint -p tsconfig.json -c tslint.json",
"fmt": "prettier --write *.ts* *.js *.json"
},
"devDependencies": {