File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class LayerCache {
6161 }
6262
6363 private async separateAllLayerCaches ( ) {
64- const layerTars = ( await exec . exec ( `find . -name layer.tar` , [ ] , { cwd : this . getUnpackedTarDir ( ) } ) ) . toString ( ) . split ( `\n` )
64+ const layerTars = ( await exec . exec ( `find . -name layer.tar` , [ ] , { cwd : this . getUnpackedTarDir ( ) } ) ) . stdoutStr . split ( `\n` )
6565 const moveLayer = async ( layer : string ) => {
6666 const from = `${ this . getUnpackedTarDir ( ) } /${ layer } `
6767 const to = `${ this . getLayerCachesDir ( ) } /${ layer } `
@@ -73,7 +73,7 @@ class LayerCache {
7373 }
7474
7575 private async joinAllLayerCaches ( ) {
76- const layerTars = ( await exec . exec ( `find . -name layer.tar` , [ ] , { cwd : this . getLayerCachesDir ( ) } ) ) . toString ( ) . split ( `\n` )
76+ const layerTars = ( await exec . exec ( `find . -name layer.tar` , [ ] , { cwd : this . getLayerCachesDir ( ) } ) ) . stdoutStr . split ( `\n` )
7777 const moveLayer = async ( layer : string ) => {
7878 const from = `${ this . getLayerCachesDir ( ) } /${ layer } `
7979 const to = `${ this . getUnpackedTarDir ( ) } /${ layer } `
You can’t perform that action at this time.
0 commit comments