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:
parent
80685a53eb
commit
6097f87154
3 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
2
main.ts
2
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();
|
||||
});
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue