mirror of https://github.com/actions/toolkit
pull/1344/head
parent
665b756702
commit
63de74f29d
|
@ -3,7 +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'
|
// import * as ioUtil from '../src/io-util'
|
||||||
|
|
||||||
describe('cp', () => {
|
describe('cp', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|
|
@ -17,9 +17,7 @@ export const {
|
||||||
unlink
|
unlink
|
||||||
} = fs.promises
|
} = fs.promises
|
||||||
|
|
||||||
export const {
|
export const {rmSync} = fs
|
||||||
rmSync
|
|
||||||
} = fs
|
|
||||||
|
|
||||||
export const IS_WINDOWS = process.platform === 'win32'
|
export const IS_WINDOWS = process.platform === 'win32'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue