fix: 🐛 add default value to spawn options param (#3227)

This commit is contained in:
Cameron Perera authored and GitHub committed 2026-04-03 09:59:18 -07:00
1 parent f3968d353d
commit 4e7d6ba57e
1 file changed
+1 -1
@@ -54,7 +54,7 @@ module.exports = {
* @param options
* @param path
*/
spawn(command, options, path = boundaryPath) {
spawn(command, options = {}, path = boundaryPath) {
const { onClose, ...spawnOptions } = options;
return new Promise((resolve, reject) => {
const childProcess = spawn(path, command, spawnOptions);