mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 23:39:10 +08:00
try shell true
This commit is contained in:
parent
5ff5e4f9f0
commit
b0ce9247be
@ -140,7 +140,8 @@ 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 {
|
||||||
@ -148,7 +149,8 @@ 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…
x
Reference in New Issue
Block a user