Skip to content

Commit 9da085e

Browse files
committed
silent find
1 parent 4ef26df commit 9da085e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LayerCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class LayerCache {
7777
}
7878

7979
private async moveLayerTarsInDir(fromDir: string, toDir: string) {
80-
const layerTars = (await exec.exec(`find . -name layer.tar`, [], { cwd: fromDir })).stdoutStr.split(`\n`).filter(tar => tar !== '')
80+
const layerTars = (await exec.exec(`find . -name layer.tar`, [], { cwd: fromDir, silent: true })).stdoutStr.split(`\n`).filter(tar => tar !== '')
8181
const moveLayer = async (layer: string) => {
8282
const from = path.resolve(`${fromDir}/${layer}`)
8383
const to = path.resolve(`${toDir}/${layer}`)

0 commit comments

Comments
 (0)