diff options
author | RabsRincon <rubrinbla@gmail.com> | 2018-03-24 01:58:20 +0100 |
---|---|---|
committer | RabsRincon <rubrinbla@gmail.com> | 2018-03-24 01:58:20 +0100 |
commit | 6572d341fe7d5c31b83d95eade4409ef2addef95 (patch) | |
tree | 3f0fd780b5dc8992725a531ecb3ff201b9e59caf /lib/compilers/ldc.js | |
parent | 0601eecc4cbb72cc21326c6f6b7d55675fba7588 (diff) | |
download | compiler-explorer-6572d341fe7d5c31b83d95eade4409ef2addef95.tar.gz compiler-explorer-6572d341fe7d5c31b83d95eade4409ef2addef95.zip |
Fix warning => warn
Diffstat (limited to 'lib/compilers/ldc.js')
-rw-r--r-- | lib/compilers/ldc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/ldc.js b/lib/compilers/ldc.js index 2247ab2e7..0ef030d0d 100644 --- a/lib/compilers/ldc.js +++ b/lib/compilers/ldc.js @@ -78,7 +78,7 @@ class LDCCompiler extends BaseCompiler { // Demangling is not needed. const astFilename = output.inputFilename.concat(".cg"); if (!fs.existsSync(astFilename)) { - logger.warning(`LDC AST file ${astFilename} requested but it does not exist`); + logger.warn(`LDC AST file ${astFilename} requested but it does not exist`); return ""; } return fs.readFileSync(astFilename, 'utf-8'); |