Skip to content

Commit

Permalink
chore(tutorial): fix publish base path for parts
Browse files Browse the repository at this point in the history
  • Loading branch information
Guria committed Nov 10, 2016
1 parent 1ce94d4 commit fdd6743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tutorial/scripts/dist.js
Expand Up @@ -14,7 +14,7 @@ function makeDist () {
if (test('-d', dir)) {
var part = dir.split('/').slice(-1)[0]
prepare(part)
sed('-i', /\/tutorial\/.*"/g, '/tutorial/' + part + '"', paths.package)
sed('-i', /\/tutorial\/?.*"/g, '/tutorial/' + part + '"', paths.package)
exec('npm run build')
cp('-R', paths.build, path.join(paths.dist, part))
}
Expand Down

0 comments on commit fdd6743

Please sign in to comment.