mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 23:24:52 +09:00
Fix logger.warning is not a function
Replace logger.warning with logger.warn as I incorrectly assumed the warning method of console was called console.warning instead of console.warn.
This commit is contained in:
1 parent
0b790357f9
commit
a40c78d85d
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -92,7 +92,7 @@ describe("Slave testing", function() {
|
||||
describe("symlinkMods()", function() {
|
||||
let testDir = path.join("temp", "test", "symlink");
|
||||
let discardingLogger = {
|
||||
warning: function() { },
|
||||
warn: function() { },
|
||||
log: function() { },
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user