Replace console.log by deprecate function

This commit is contained in:
2019-04-24 19:31:26 +02:00
parent f984dec95a
commit 94d342ce63
2 changed files with 9 additions and 4 deletions

5
lib/utils/deprecate.js Normal file
View File

@@ -0,0 +1,5 @@
/*eslint no-console: ["error", { allow: ["warn"] }] */
module.exports = function deprecate (msg) {
console.warn(msg);
};