perf: 去掉沒使用過的timeout
This commit is contained in:
1
index.ts
1
index.ts
@@ -2,7 +2,6 @@ import fs from 'fs'
|
|||||||
import got, {HTTPError, Options} from 'got'
|
import got, {HTTPError, Options} from 'got'
|
||||||
import YAML from 'yaml'
|
import YAML from 'yaml'
|
||||||
|
|
||||||
import {timeout} from './util.js'
|
|
||||||
import {IrequestData} from './types.js'
|
import {IrequestData} from './types.js'
|
||||||
|
|
||||||
const path: string = YAML.parse(fs.readFileSync('../config.yml', 'utf-8')).path
|
const path: string = YAML.parse(fs.readFileSync('../config.yml', 'utf-8')).path
|
||||||
|
|||||||
Reference in New Issue
Block a user