Skip to content

Commit aa17a8f

Browse files
committed
fix bug in copyFrom
Signed-off-by: Jeromy Cannon <[email protected]>
1 parent 4c413f7 commit aa17a8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/k8.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export class K8 {
597597
}
598598

599599
try {
600-
// extract the downloaded file
600+
// copy the downloaded file
601601
fs.copyFileSync(tmpFile, destPath)
602602

603603
self._deleteTempFile(tmpFile)
@@ -607,7 +607,7 @@ export class K8 {
607607
return resolve(true)
608608
}
609609
} catch (e) {
610-
return reject(new FullstackTestingError(`failed to extract file: ${destPath}`, e))
610+
return reject(new FullstackTestingError(`failed to copy file: ${destPath}`, e))
611611
}
612612

613613
return reject(new FullstackTestingError(`failed to download file completely: ${destPath}`))

0 commit comments

Comments
 (0)