Skip to content

Commit

Permalink
remove auto-run in bundle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeddy committed Mar 24, 2020
1 parent 357288c commit 2319da3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const bundleSpec = async () => {
shell.mkdir('-p', specDir);

var specPath = path.join(config.root, config.apiSpecPath);

log.preview({
'title': 'Spec location',
'text': specPath
})

shell.cp(specPath, path.join(config.root, 'spec/openapi.yaml'));

log.log("\nBundling API spec...");
Expand All @@ -42,5 +42,4 @@ const bundleSpec = async () => {
shell.rm('-rf', specDir);
};

bundleSpec();
export default bundleSpec;

0 comments on commit 2319da3

Please sign in to comment.