Skip to content

Commit

Permalink
Make lint and tests pass (on windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
singingknight committed Apr 12, 2017
1 parent 45b0a04 commit 1da80fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/options.js
Expand Up @@ -62,7 +62,7 @@ function parseThemeArg(theme) {
}

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

function parseScriptsPath(scripts) {
Expand Down
2 changes: 1 addition & 1 deletion lib/serve.js
Expand Up @@ -33,7 +33,7 @@ module.exports = function startServer(options, cb) {
app.use('/' + dir, staticDir(path.join(options.revealBasePath, dir)));
});

app.use(`/css/highlight`, staticDir(options.highlightThemePath));
app.use('/css/highlight', staticDir(options.highlightThemePath));

if(options.watch) {
const liveReloadServer = liveReload.createServer({
Expand Down

0 comments on commit 1da80fc

Please sign in to comment.