summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-28 09:42:10 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-28 09:47:40 -0400
commit6097f871542dcd8486ef1a7c508f0f373297c74a (patch)
treee99fe90a31e3e88c062302be5714dd3e58928045
parent80685a53eb2f313d7635e2d7772e84978b9b491e (diff)
Try to fix tslint on travis
-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": {