Fix linting issue
This commit is contained in:
@@ -973,7 +973,7 @@ describe('download-artifact', () => {
|
|||||||
|
|
||||||
const maliciousPath = path.resolve(
|
const maliciousPath = path.resolve(
|
||||||
fixtures.workspaceDir,
|
fixtures.workspaceDir,
|
||||||
"../../../etc/passwd"
|
'../../../etc/passwd'
|
||||||
)
|
)
|
||||||
expect(fs.existsSync(maliciousPath)).toBe(false)
|
expect(fs.existsSync(maliciousPath)).toBe(false)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user