aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/assembly.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2019-05-15 13:45:40 -0500
committerMatt Godbolt <matt@godbolt.org>2019-05-15 13:45:40 -0500
commit090ac3863ce72f90ebe112f1112eb03a788dac14 (patch)
tree6ef30a6c8047311e81118f0714a69154bdac6e28 /lib/compilers/assembly.js
parent31404db54281e24458587ba7d35bbad629aade0d (diff)
downloadcompiler-explorer-090ac3863ce72f90ebe112f1112eb03a788dac14.tar.gz
compiler-explorer-090ac3863ce72f90ebe112f1112eb03a788dac14.zip
Ignore dotfiles in the asm output directory (as it may be running in /home/matthew under firejail and thus find .bashrc et al
Diffstat (limited to 'lib/compilers/assembly.js')
-rw-r--r--lib/compilers/assembly.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/assembly.js b/lib/compilers/assembly.js
index 86b1e5ee2..9b83bafb9 100644
--- a/lib/compilers/assembly.js
+++ b/lib/compilers/assembly.js
@@ -69,7 +69,7 @@ class AssemblyCompiler extends BaseCompiler {
return new Promise((resolve, reject) => {
fs.readdir(outputFolder, (err, files) => {
files.forEach(file => {
- if (file !== this.compileFilename) {
+ if (file[0] != '.' && file !== this.compileFilename) {
resolve(path.join(outputFolder, file));
}
});