fix: 补充类型
This commit is contained in:
parent
cf8e08c312
commit
a79e7c16bc
|
@ -99,7 +99,6 @@ export default class MysApi {
|
||||||
return this.isSr ? 'prod_gf_cn' : 'cn_gf01'
|
return this.isSr ? 'prod_gf_cn' : 'cn_gf01'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_device_fp = null
|
_device_fp = null
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -49,14 +49,13 @@ export function mkdirs(dirname: string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param cmd
|
* @param cmd
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export function execAsync(cmd: string): Promise<{
|
export function execAsync(cmd: string): Promise<{
|
||||||
stdout: string,
|
stdout: string
|
||||||
stderr: string
|
stderr: string
|
||||||
}> {
|
}> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
Loading…
Reference in New Issue