1
0
Fork 0

Fix lint issue

pull/767/head
Dave Hadka 2021-04-09 14:16:19 -05:00
parent 74236358e6
commit fac664b5d0
1 changed files with 12 additions and 8 deletions

View File

@ -56,8 +56,9 @@ test('zstd extract tar', async () => {
'-P', '-P',
'-C', '-C',
IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace
].concat(IS_WINDOWS ? ['--force-local'] : []) ]
.concat(IS_MAC ? ['--delay-directory-restore'] : []), .concat(IS_WINDOWS ? ['--force-local'] : [])
.concat(IS_MAC ? ['--delay-directory-restore'] : []),
{cwd: undefined} {cwd: undefined}
) )
}) })
@ -147,8 +148,9 @@ test('zstd create tar', async () => {
IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace, IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace,
'--files-from', '--files-from',
'manifest.txt' 'manifest.txt'
].concat(IS_WINDOWS ? ['--force-local'] : []) ]
.concat(IS_MAC ? ['--delay-directory-restore'] : []), .concat(IS_WINDOWS ? ['--force-local'] : [])
.concat(IS_MAC ? ['--delay-directory-restore'] : []),
{ {
cwd: archiveFolder cwd: archiveFolder
} }
@ -208,8 +210,9 @@ test('zstd list tar', async () => {
'-tf', '-tf',
IS_WINDOWS ? archivePath.replace(/\\/g, '/') : archivePath, IS_WINDOWS ? archivePath.replace(/\\/g, '/') : archivePath,
'-P' '-P'
].concat(IS_WINDOWS ? ['--force-local'] : []) ]
.concat(IS_MAC ? ['--delay-directory-restore'] : []), .concat(IS_WINDOWS ? ['--force-local'] : [])
.concat(IS_MAC ? ['--delay-directory-restore'] : []),
{cwd: undefined} {cwd: undefined}
) )
}) })
@ -232,8 +235,9 @@ test('zstdWithoutLong list tar', async () => {
'-tf', '-tf',
IS_WINDOWS ? archivePath.replace(/\\/g, '/') : archivePath, IS_WINDOWS ? archivePath.replace(/\\/g, '/') : archivePath,
'-P' '-P'
].concat(IS_WINDOWS ? ['--force-local'] : []) ]
.concat(IS_MAC ? ['--delay-directory-restore'] : []), .concat(IS_WINDOWS ? ['--force-local'] : [])
.concat(IS_MAC ? ['--delay-directory-restore'] : []),
{cwd: undefined} {cwd: undefined}
) )
}) })