diff options
Diffstat (limited to 'node_modules/yaml/browser/dist/log.js')
-rw-r--r-- | node_modules/yaml/browser/dist/log.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/yaml/browser/dist/log.js b/node_modules/yaml/browser/dist/log.js deleted file mode 100644 index aa5ba56..0000000 --- a/node_modules/yaml/browser/dist/log.js +++ /dev/null @@ -1,14 +0,0 @@ -function debug(logLevel, ...messages) { - if (logLevel === 'debug') - console.log(...messages); -} -function warn(logLevel, warning) { - if (logLevel === 'debug' || logLevel === 'warn') { - if (typeof process !== 'undefined' && process.emitWarning) - process.emitWarning(warning); - else - console.warn(warning); - } -} - -export { debug, warn }; |