Skip to content

Commit 6d8740c

Browse files
committed
add use strict to all scripts
1 parent c169a21 commit 6d8740c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/executor.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use strict";
2+
13
import { platform, tmpdir } from "os";
24
import { writeFileSync, unlinkSync, mkdirSync, readFileSync } from "fs";
35
import { exec } from "child_process";

src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use strict";
2+
13
import executer from "./executor";
24
import l from "./languages";
35
import lxc from "./lxc";

src/languages.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use strict";
2+
13
enum Language {
24
PYTHON3 = "python3",
35
C = "gcc",

src/lxc.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"use strict";
2+
13
import { exec } from "child_process";
24
import { mkdirSync, writeFileSync, readFileSync, chmodSync } from "fs";
35
import { platform } from "os";

0 commit comments

Comments
 (0)