mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(cta): account for null args
This commit is contained in:
@@ -24,7 +24,7 @@ export const shell = async (
|
||||
if (log) console.log(`[running]: ${command}`)
|
||||
return await execa(
|
||||
command,
|
||||
args.filter((e) => e !== ''),
|
||||
(args ?? []).filter((e) => e !== ''),
|
||||
{
|
||||
stdio: 'inherit',
|
||||
cwd: process.cwd(),
|
||||
|
||||
Reference in New Issue
Block a user