Skip to content

Commit 1140504

Browse files
committed
log
1 parent 88c248d commit 1140504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LayerCache.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class LayerCache {
4747

4848
private async saveImageAsUnpacked() {
4949
await this.exec('mkdir -p', [this.getSavedImageTarDir()])
50-
await this.exec(`sh -c`, [`docker save '${this.repotag}' | tar xf - -C ${this.getSavedImageTarDir()}`])
50+
await this.exec(`sh -c`, [`docker save '${this.repotag}' | tar xf - -C ${this.getSavedImageTarDir()} && echo tar extraction has just finished`])
5151
}
5252

5353
private async getManifests() {
@@ -150,7 +150,7 @@ class LayerCache {
150150
}
151151

152152
private async loadImageFromUnpacked() {
153-
await exec.exec(`sh -c`, [`tar cf - . | docker load`], { cwd: this.getUnpackedTarDir() })
153+
await exec.exec(`sh -c`, [`(tar cf - . && (echo tar creation has just finished 1>&2)) | docker load`], { cwd: this.getUnpackedTarDir() })
154154
}
155155

156156
async cleanUp() {

0 commit comments

Comments
 (0)