diff --git a/run/idp-sql/.eslintrc.json b/run/idp-sql/.eslintrc.json index e21bae853b..8cdfd768fc 100644 --- a/run/idp-sql/.eslintrc.json +++ b/run/idp-sql/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "no-undef": "warn", - "node/no-unpublished-require": "warn", "no-unused-vars": "warn", "no-process-exit": "warn" } diff --git a/run/idp-sql/logging.js b/run/idp-sql/logging.js index 583f1ace6b..a6b99530fb 100644 --- a/run/idp-sql/logging.js +++ b/run/idp-sql/logging.js @@ -16,7 +16,7 @@ const {createLogger, transports, format} = require('winston'); // Add severity label for Stackdriver log parsing -const addSeverity = format((info, opts) => { +const addSeverity = format(info => { info.severity = info.level; return info; });