Adding fix for tar exiting with code 1 issue

This commit is contained in:
Sankalp Kotewar authored and GitHub committed 2022-06-01 13:18:50 +00:00
1 parent 7cf4668bd5
commit ad2fd7b5e6
3 files changed
+7 -2

No files matched your search

+2
View File
@@ -118,6 +118,8 @@ export async function createTar(
...getCompressionProgram(),
'-cf',
cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'--exclude',
cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'-P',
'-C',
workingDirectory.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),