mirror of https://github.com/actions/toolkit
locks
parent
a91ee0b497
commit
8e804e9f8d
|
@ -331,7 +331,7 @@ describe('rmRF', () => {
|
|||
await fs.appendFile(filePath, 'some data')
|
||||
await assertExists(filePath)
|
||||
|
||||
const fd = await fs.open(filePath, 'r')
|
||||
const fd = await fs.open(filePath, fs.constants.O_RDONLY | fs.constants.UV_FS_O_EXLOCK)
|
||||
await io.rmRF(testPath)
|
||||
|
||||
await assertNotExists(testPath)
|
||||
|
|
Loading…
Reference in New Issue