mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-23 13:18:05 +08:00
try shell true
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user