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

Commit a59b8d2

Browse files
author
Jason Jarrett
committed
replacing console.log with console.errors so they show up in a grunt task
1 parent 63d74ba commit a59b8d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ function getControlsAndProperties(env, enums) {
213213
}
214214

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

0 commit comments

Comments
 (0)