Skip to content

Commit c99abdf

Browse files
committed
, { silent: true }
1 parent 76aa9eb commit c99abdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LayerCache.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LayerCache {
5252
}
5353

5454
private async saveImageAsUnpacked() {
55-
await this.exec('mkdir -p', [this.getSavedImageTarDir()])
55+
await this.exec('mkdir -p', [this.getSavedImageTarDir()], { silent: true })
5656
await this.exec(`sh -c`, [`docker save '${(await this.makeRepotagsDockerSaveArgReady(this.ids)).join(`' '`)}' | tar xf - -C ${this.getSavedImageTarDir()}`])
5757
}
5858

@@ -64,7 +64,7 @@ class LayerCache {
6464
}
6565

6666
private async getAllImageIdsFrom(repotag: string): Promise<string[]> {
67-
const { stdoutStr: rawHistoryIds } = await this.exec(`docker history -q`, [repotag])
67+
const { stdoutStr: rawHistoryIds } = await this.exec(`docker history -q`, [repotag], { silent: true })
6868
const historyIds = rawHistoryIds.split(`\n`).filter(id => id !== `<missing>` && id !== ``)
6969
return historyIds
7070
}

0 commit comments

Comments
 (0)