aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ldc.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2022-12-28 11:42:14 -0600
committerGitHub <noreply@github.com>2022-12-28 11:42:14 -0600
commit749319f7912ff479d25d9afb1e751f4ea704b0e2 (patch)
tree6f1504440fcdaf033dc406d454bb00299b0d8fa6 /lib/compilers/ldc.js
parentb597095f6ee657e6b1fde4b02f9bb2f61457d225 (diff)
downloadcompiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.tar.gz
compiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.zip
Slightly more controversial bumpings (#4503)gh-5552
- latest sentry, tar-stream, which, some yamljs versions - latest eslint-* stuff - latest webpack manifest - Applies all the automatic fixes for newer lint rules - Bump the webpack version applies new tslint stuff
Diffstat (limited to 'lib/compilers/ldc.js')
-rw-r--r--lib/compilers/ldc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/ldc.js b/lib/compilers/ldc.js
index 0583a0284..277d2979b 100644
--- a/lib/compilers/ldc.js
+++ b/lib/compilers/ldc.js
@@ -102,7 +102,7 @@ export class LDCCompiler extends BaseCompiler {
// Demangling is not needed.
const astFilename = output.inputFilename.concat('.cg');
try {
- return await fs.readFile(astFilename, 'utf-8');
+ return await fs.readFile(astFilename, 'utf8');
} catch (e) {
if (e instanceof Error && e.code === 'ENOENT') {
logger.warn(`LDC AST file ${astFilename} requested but it does not exist`);