Skip to content

Commit

Permalink
Use path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 18, 2017
1 parent 8574a47 commit 7294253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options.js
Expand Up @@ -74,7 +74,7 @@ function parseThemeArg(theme) {
}

function parseScriptsArg(scripts) {
return (typeof scripts === 'string' ? scripts.split(',') : []).map(script => `scripts/${script}`);
return (typeof scripts === 'string' ? scripts.split(',') : []).map(script => path.join('scripts', script));
}

function parseScriptsPath(scripts) {
Expand Down

0 comments on commit 7294253

Please sign in to comment.