mirror of https://github.com/actions/toolkit
pull/1344/head
parent
1f17f8bd0b
commit
5261f00994
|
@ -3,6 +3,7 @@ import {promises as fs} from 'fs'
|
||||||
import * as os from 'os'
|
import * as os from 'os'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
import * as io from '../src/io'
|
import * as io from '../src/io'
|
||||||
|
import * as ioUtil from '../src/io-util'
|
||||||
|
|
||||||
describe('cp', () => {
|
describe('cp', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
@ -344,6 +345,10 @@ describe('rmRF', () => {
|
||||||
await assertExists(filePath)
|
await assertExists(filePath)
|
||||||
|
|
||||||
const fd = await fs.open(filePath, 'r')
|
const fd = await fs.open(filePath, 'r')
|
||||||
|
const files = await ioUtil.readdir(getTestTemp())
|
||||||
|
for (const file of files) {
|
||||||
|
console.log(file)
|
||||||
|
}
|
||||||
await io.rmRF(testPath)
|
await io.rmRF(testPath)
|
||||||
|
|
||||||
await assertNotExists(testPath)
|
await assertNotExists(testPath)
|
||||||
|
|
Loading…
Reference in New Issue