mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 16:59:09 +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,
|
||||
['/s', '/c', 'rd /s /q "%inputPath%"'],
|
||||
{
|
||||
env: {inputPath}
|
||||
env: {inputPath},
|
||||
shell: true
|
||||
}
|
||||
)
|
||||
} else {
|
||||
@ -148,7 +149,8 @@ export async function rmRF(inputPath: string): Promise<void> {
|
||||
cmdPath,
|
||||
['/s', '/c', 'del /f /q /a "%inputPath%"'],
|
||||
{
|
||||
env: {inputPath}
|
||||
env: {inputPath},
|
||||
shell: true
|
||||
}
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user