Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 22, 2019
1 parent 84802b4 commit 87f4a73
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions index.js
Expand Up @@ -448,13 +448,6 @@ function parseCommand(command) {
.reduce(handleEscaping, []);
}

function parseCommand(command) {
return command
.trim()
.split(SPACES_REGEXP)
.reduce(handleEscaping, []);
}

module.exports.command = (command, options) => {
const [file, ...args] = parseCommand(command);
return execa(file, args, {...options, shell: false});
Expand Down

0 comments on commit 87f4a73

Please sign in to comment.