Skip to content

Commit c169d1b

Browse files
authored
fix: update deploy
1 parent ed784b6 commit c169d1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kubectl/deploy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rm -rf node_modules/@types/node
1313
ln -s /usr/local/lib/node_modules/@types/node node_modules/@types/node
1414

1515
cat > __deploy.ts <<EOF
16-
import * as fs from "fs";
16+
const fs = require("fs");
1717
1818
for (const file of fs.readdirSync("deploy")) {
1919
if (file.match(/\.ts$/)) {
@@ -31,7 +31,7 @@ cat > __deploy.ts <<EOF
3131
EOF
3232

3333
cat > __deploy_sts.ts <<EOF
34-
import * as fs from "fs";
34+
const fs = require("fs");
3535
3636
for (const file of fs.readdirSync("deploy")) {
3737
if (file.match(/\.ts$/)) {

0 commit comments

Comments
 (0)