Skip to content

Commit 81f775a

Browse files
committed
worker rename
1 parent fe06204 commit 81f775a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import JobWorker from "./workder";
1+
import JobWorker from "./worker";
22

3-
const workder = new JobWorker();
4-
workder
3+
const worker = new JobWorker();
4+
worker
55
.startContainer("python3", "print(10+898786)")
66
.then((output) => console.log(output))
77
.catch((e) => console.log(e));

src/workder.ts renamed to src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
WriteFileStatus,
99
container,
1010
fileFormat,
11-
} from "./types/workder";
11+
} from "./types/worker";
1212

1313
class JobWorker {
1414
constructor() {}

0 commit comments

Comments
 (0)