1
0
Fork 0

Adding version check

pull/1372/head
Vallie Joseph 2023-03-14 03:52:20 +00:00
parent 9f3f840120
commit 6bb14c42ee
3 changed files with 2 additions and 3 deletions

View File

@ -353,6 +353,8 @@ describe('rmRF', () => {
// // can't remove folder with locked file on windows // // can't remove folder with locked file on windows
if (ioUtil.IS_WINDOWS) { if (ioUtil.IS_WINDOWS) {
// eslint-disable-next-line no-console
console.debug(`Version: ${process.versions.node.split('.')[0]}`)
try { try {
// additionally, can't stat an open file on Windows without getting EPERM // additionally, can't stat an open file on Windows without getting EPERM
await io.rmRF(testPath) await io.rmRF(testPath)

View File

@ -1,6 +1,5 @@
import * as fs from 'fs' import * as fs from 'fs'
import * as path from 'path' import * as path from 'path'
export const { export const {
access, access,
chmod, chmod,

View File

@ -119,8 +119,6 @@ export async function rmRF(inputPath: string): Promise<void> {
) )
} }
} }
// eslint-disable-next-line no-console
console.debug(`Version: ${process.version}`)
ioUtil.rm(inputPath, { ioUtil.rm(inputPath, {
force: true, force: true,
maxRetries: 3, maxRetries: 3,