1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -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";
// 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);
const inputFn = argv[0];
const mod = runtime.resolveModule(inputFn, cwd + "/");
const mod = runtime.resolveModule(inputFn, `${cwd}/`);
mod.compileAndRun();
});

View file

@ -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": {