diff --git a/index.ts b/index.ts index 0d86db3..8386eb9 100644 --- a/index.ts +++ b/index.ts @@ -2,7 +2,6 @@ import fs from 'fs' import got, {HTTPError, Options} from 'got' import YAML from 'yaml' -import {timeout} from './util.js' import {IrequestData} from './types.js' const path: string = YAML.parse(fs.readFileSync('../config.yml', 'utf-8')).path diff --git a/util.ts b/util.ts deleted file mode 100644 index b25095c..0000000 --- a/util.ts +++ /dev/null @@ -1,6 +0,0 @@ -export function timeout(ms: number): Promise { - return new Promise((resolve, reject) => { - setTimeout(resolve, ms) - }) - } - \ No newline at end of file