Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #12 - Better error handling for rollup configs

  • Loading branch information...
commit a01e87a8b8895a7c37a7c3d4cf29d2143a378d26 1 parent 584a6fa
@davglass authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/ant.js
View
7 lib/ant.js
@@ -120,9 +120,10 @@ exports.process = function (options, callback) {
log.info('saving newly parsed ' + fileName + ' file for ' + data.name);
fs.writeFile(path.join(process.cwd(), fileName), JSON.stringify(data, null, 4) + '\n', 'utf8');
if (hasRollups) {
- log.warn('i think we dropped the clutch! we found a rollup config that we can\'t parse');
- log.warn('you need to inspect the ' + fileName + ' file and fix the relationships yourself');
- log.warn('IF YOU DON\'T FIX THEM THIS BUILD WILL BLOW THE TRANSMISSION AND THAT\'S NOT GOOD');
+ log.err('i think we dropped the clutch! we found a rollup config that we can\'t parse');
+ log.err('you need to inspect the ' + fileName + ' file and fix the relationships yourself');
+ log.err('IF YOU DON\'T FIX THEM THIS BUILD WILL BLOW THE TRANSMISSION AND THAT\'S NOT GOOD');
+ log.err('YOU MUST MANUALLY FIX THIS, SHIFTER WILL NOT CONVERT ROLLUPS!!');
} else {
callback();
}
Please sign in to comment.
Something went wrong with that request. Please try again.