Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
fix(start): don't save state with --no-cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
tlancina committed Mar 31, 2016
1 parent 3d41fdd commit 915a224
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,9 @@ Start.finalize = function(options) {
fs.unlinkSync(options.targetPath + '/www/README.md');
} catch(e) {}

State.saveState(process.cwd(), { plugins: true });
if (options.isCordovaProject) {
State.saveState(process.cwd(), { plugins: true });
}

// Start.printQuickHelp();

Expand Down

0 comments on commit 915a224

Please sign in to comment.