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

Commit

Permalink
replacing console.log with console.errors so they show up in a grunt …
Browse files Browse the repository at this point in the history
…task
  • Loading branch information
staxmanade committed Oct 16, 2015
1 parent 0579453 commit 1dfebd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ function getControlsAndProperties(env, enums) {
}

if (Object.keys(missingEvents).length > 0) {
console.log("Unknown capitalization for the following events. Please update eventNameCapitalization to include these events:");
console.error("Unknown capitalization for the following events. Please update eventNameCapitalization to include these events:");
var len = Object.keys(missingEvents).length;
Object.keys(missingEvents).sort().forEach(function (eventName, i) {
console.log(' ' + eventName + ': "' + eventName + '"' + (i + 1 === len ? "" : ","));
console.error(' ' + eventName + ': "' + eventName + '"' + (i + 1 === len ? "" : ","));
});
throw "Unknown capitalization for some events.";
}
Expand Down

0 comments on commit 1dfebd2

Please sign in to comment.