diff --git a/ica-rs/plugins/md5/package.json b/ica-rs/plugins/md5/package.json deleted file mode 100644 index 96ae6e5..0000000 --- a/ica-rs/plugins/md5/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} \ No newline at end of file diff --git a/ica-rs/plugins/md5/runs.ts b/ica-rs/plugins/md5/runs.ts index cdf613a..e704cb2 100644 --- a/ica-rs/plugins/md5/runs.ts +++ b/ica-rs/plugins/md5/runs.ts @@ -1,7 +1,6 @@ const fs = require('fs'); const path = require('path'); - -import { fight } from "./md5-api"; +const fight = require('./md5-api.ts').fight; // 从文件的 ./input.txt 中读取输入 // 然后丢给 md5.js