Fix path to docs assets dir (#265)

This commit is contained in:
Héctor Ramos 2017-12-07 10:14:32 -08:00 committed by Joel Marcey
parent 2d04b3071e
commit ad87bab09b

View file

@ -229,7 +229,7 @@ function execute() {
// copy docs assets if they exist
if (fs.existsSync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'))) {
fs.copySync(
join(CWD, readMetadata.getDocsPath(), 'assets'),
join(CWD, '..', readMetadata.getDocsPath(), 'assets'),
join(buildDir, 'docs', 'assets')
);
}