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

Commit 1dfebd2

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

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
@@ -210,10 +210,10 @@ function getControlsAndProperties(env, enums) {
210210
}
211211

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

0 commit comments

Comments
 (0)