mirror of https://github.com/actions/toolkit
pull/1344/head
parent
1e057c1e35
commit
683cee159e
|
@ -348,7 +348,8 @@ describe('rmRF', () => {
|
|||
|
||||
// can't remove folder with locked file on windows
|
||||
if (ioUtil.IS_WINDOWS) {
|
||||
await assertExists(testPath)
|
||||
// additionally, can't stat an open file on Windows without getting EPERM
|
||||
await ioUtil.access(filePath)
|
||||
} else {
|
||||
await assertNotExists(testPath)
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ import * as fs from 'fs'
|
|||
import * as path from 'path'
|
||||
|
||||
export const {
|
||||
access,
|
||||
chmod,
|
||||
copyFile,
|
||||
lstat,
|
||||
|
|
Loading…
Reference in New Issue