Skip to content

Commit

Permalink
fix: check config.manual
Browse files Browse the repository at this point in the history
  • Loading branch information
h13i32maru committed Oct 4, 2015
1 parent e693ad4 commit 2f8965e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ export default class Generator {
config.package = path.resolve(repoDirPath, './package.json');
}

if (config.manual) {
if (config.manual.overview) path.resolve(repoDirPath, config.manual.overview);
if (config.manual.installation) path.resolve(repoDirPath, config.manual.installation);
if (config.manual.usage) path.resolve(repoDirPath, config.manual.usage);
if (config.manual.example) path.resolve(repoDirPath, config.manual.example);
if (config.manual.faq) path.resolve(repoDirPath, config.manual.faq);
if (config.manual.changelog) path.resolve(repoDirPath, config.manual.changelog);
}

config.lint = false;
config.coverage = true;
config.scripts = [];
config.styles = [];
Expand Down

0 comments on commit 2f8965e

Please sign in to comment.