Comparing version 1.2.0 to 1.2.1
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/Kikobeats/tinyspawn", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "src/index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
@@ -17,3 +17,3 @@ 'use strict' | ||
if (!(args instanceof Array)) { options = args; args = [] } | ||
const [cmd, ...cmdArgs] = input.split(' ').filter(Boolean).concat(args) | ||
const [cmd, ...cmdArgs] = input.split(' ').concat(args).filter(Boolean) | ||
let childProcess | ||
@@ -20,0 +20,0 @@ |