mirror of https://github.com/actions/toolkit
revert shell change
parent
d155e954a1
commit
f1e183e98c
|
@ -140,8 +140,7 @@ export async function rmRF(inputPath: string): Promise<void> {
|
||||||
cmdPath,
|
cmdPath,
|
||||||
['/s', '/c', 'rd', '/s', '/q', '"%inputPath%"'],
|
['/s', '/c', 'rd', '/s', '/q', '"%inputPath%"'],
|
||||||
{
|
{
|
||||||
env: {inputPath},
|
env: {inputPath}
|
||||||
shell: true
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
@ -149,8 +148,7 @@ export async function rmRF(inputPath: string): Promise<void> {
|
||||||
cmdPath,
|
cmdPath,
|
||||||
['/s', '/c', 'del', '/f', '/q', '/a', '"%inputPath%"'],
|
['/s', '/c', 'del', '/f', '/q', '/a', '"%inputPath%"'],
|
||||||
{
|
{
|
||||||
env: {inputPath},
|
env: {inputPath}
|
||||||
shell: true
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue