Skip to content

Commit

Permalink
fix: add const before LOG_TYPES assingment
Browse files Browse the repository at this point in the history
assigning variable before declaration throws in strict mode

Closes illuspas#242
  • Loading branch information
shantmarouti authored and datagutt committed Aug 3, 2019
1 parent 613d524 commit 06b367c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_core_logger.js
@@ -1,6 +1,6 @@
const chalk = require('chalk');

LOG_TYPES = {
const LOG_TYPES = {
NONE: 0,
ERROR: 1,
NORMAL: 2,
Expand Down

0 comments on commit 06b367c

Please sign in to comment.