Skip to content

Commit

Permalink
Resolve (sindresorhus#202) by escaping target
Browse files Browse the repository at this point in the history
  • Loading branch information
CryogenicPlanet committed Oct 22, 2020
1 parent f3748e4 commit 89e889b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -102,7 +102,7 @@ module.exports = async (target, options) => {
encodedArguments.push(`"\`"${app}\`""`, '-ArgumentList');
appArguments.unshift(target);
} else {
encodedArguments.push(`"\`"${target}\`""`);
encodedArguments.push(`'${target}'`);
}

if (appArguments.length > 0) {
Expand Down

0 comments on commit 89e889b

Please sign in to comment.