0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 12:16:11 -05:00

Try to fix tslint on travis

This commit is contained in:
Ryan Dahl 2018-05-28 09:42:10 -04:00
parent 80685a53eb
commit 6097f87154
3 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,3 @@
/// <reference path="./text-encoding.d.ts" />
import * as timer from "./timers"; import * as timer from "./timers";
// If you use the eval function indirectly, by invoking it via a reference // If you use the eval function indirectly, by invoking it via a reference

View file

@ -36,6 +36,6 @@ dispatch.sub("start", (payload: Uint8Array) => {
runtime.setup(mainJs, mainMap); runtime.setup(mainJs, mainMap);
const inputFn = argv[0]; const inputFn = argv[0];
const mod = runtime.resolveModule(inputFn, cwd + "/"); const mod = runtime.resolveModule(inputFn, `${cwd}/`);
mod.compileAndRun(); mod.compileAndRun();
}); });

View file

@ -1,8 +1,7 @@
{ {
"name": "deno", "name": "deno",
"scripts": { "scripts": {
"lint": "tslint -p tsconfig.json", "lint": "tslint -p tsconfig.json -c tslint.json",
"lint-version": "tslint --version",
"fmt": "prettier --write *.ts* *.js *.json" "fmt": "prettier --write *.ts* *.js *.json"
}, },
"devDependencies": { "devDependencies": {