Skip to content

Commit

Permalink
Remove extra console message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilkh committed Jun 5, 2015
1 parent 096e1e3 commit 505db38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/templates/cordova/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,10 @@ function parseOpts(options, resolvedTarget) {
// If some values are not specified as command line arguments - use build config to supplement them.
// Command line arguemnts have precedence over build config.
if (buildConfig) {
console.log(path.resolve(buildConfig));
if (!fs.existsSync(buildConfig)) {
throw new Error('Specified build config file does not exist: ' + buildConfig);
}
console.log('Reading build config file: '+ buildConfig);
console.log('Reading build config file: '+ path.resolve(buildConfig));
var config = JSON.parse(fs.readFileSync(buildConfig, 'utf8'));
if (config.android && config.android[ret.buildType]) {
var androidInfo = config.android[ret.buildType];
Expand Down

0 comments on commit 505db38

Please sign in to comment.