diff --git a/globals.ts b/globals.ts index e82afd75b9..184f25163b 100644 --- a/globals.ts +++ b/globals.ts @@ -1,4 +1,3 @@ -/// 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 10acb649fb..47da3e0db6 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 991b7ef922..8da3f7406a 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": {