diff --git a/ica-rs/plugins/md5/.gitignore b/ica-rs/plugins/md5/.gitignore index ae40cea..7d191a4 100644 --- a/ica-rs/plugins/md5/.gitignore +++ b/ica-rs/plugins/md5/.gitignore @@ -1 +1,4 @@ -input.txt \ No newline at end of file +input.txt +node_modules +package-lock.json +package.json \ No newline at end of file diff --git a/ica-rs/plugins/md5/runs.ts b/ica-rs/plugins/md5/runs.tsm similarity index 55% rename from ica-rs/plugins/md5/runs.ts rename to ica-rs/plugins/md5/runs.tsm index e704cb2..71cb695 100644 --- a/ica-rs/plugins/md5/runs.ts +++ b/ica-rs/plugins/md5/runs.tsm @@ -1,6 +1,9 @@ -const fs = require('fs'); -const path = require('path'); -const fight = require('./md5-api.ts').fight; +// const fs = require('fs'); +// const path = require('path'); +import fs from 'fs'; +import path from 'path'; +// const fight = require('./md5-api.ts').fight; +import { fight } from './md5-api.ts'; // 从文件的 ./input.txt 中读取输入 // 然后丢给 md5.js