mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-07 19:43:42 +08:00
Adding version check
This commit is contained in:
@@ -353,6 +353,8 @@ describe('rmRF', () => {
|
||||
|
||||
// // can't remove folder with locked file on windows
|
||||
if (ioUtil.IS_WINDOWS) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.debug(`Version: ${process.versions.node.split('.')[0]}`)
|
||||
try {
|
||||
// additionally, can't stat an open file on Windows without getting EPERM
|
||||
await io.rmRF(testPath)
|
||||
|
||||
Reference in New Issue
Block a user