rl-rock 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2412,7 +2412,7 @@ var Sandbox = class extends AbstractSandbox {
|
|
|
2412
2412
|
const fileName = sourcePath.split("/").pop() ?? "file";
|
|
2413
2413
|
const objectName = `${timestamp}-${fileName}`;
|
|
2414
2414
|
await this.ossBucket.put(objectName, sourcePath);
|
|
2415
|
-
const signedUrl = this.ossBucket.signatureUrl(objectName, 600);
|
|
2415
|
+
const signedUrl = this.ossBucket.signatureUrl(objectName, { expires: 600 });
|
|
2416
2416
|
const downloadCmd = `wget -c -O '${targetPath}' '${signedUrl}'`;
|
|
2417
2417
|
await this.arun(downloadCmd, { mode: "nohup", waitTimeout: 600 });
|
|
2418
2418
|
const checkResult = await this.execute({ command: ["test", "-f", targetPath], timeout: 60 });
|