This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { Downloader } from "../common/download";
|
||||
import download from "../common/download";
|
||||
import { Logger } from "../common/log";
|
||||
|
||||
export class Sdk {
|
||||
@@ -55,7 +55,7 @@ export class Sdk {
|
||||
return Promise.resolve();
|
||||
} else {
|
||||
this.log.i("download: *%s*", this.link);
|
||||
return Downloader.download(this.link, this.path, strip);
|
||||
return download(this.link, this.path, { strip });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user