aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/tendra.js
diff options
context:
space:
mode:
authorAustin Morton <apmorton@users.noreply.github.com>2020-09-26 16:59:26 -0400
committerGitHub <noreply@github.com>2020-09-26 16:59:26 -0400
commit044dcfbf8885d0115e64cf75f74a0f40f54e2370 (patch)
tree1dcc3e27139600d8e85004dc2a840bb420ccc835 /lib/compilers/tendra.js
parentbac07fea6d2d4ed5fb7070c51e4cf3e56e3c155a (diff)
downloadcompiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.tar.gz
compiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.zip
Use ES6 Modules (#2132)
Diffstat (limited to 'lib/compilers/tendra.js')
-rw-r--r--lib/compilers/tendra.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/compilers/tendra.js b/lib/compilers/tendra.js
index 2301521f7..eeafaf1b3 100644
--- a/lib/compilers/tendra.js
+++ b/lib/compilers/tendra.js
@@ -1,7 +1,6 @@
-const
- GccCompiler = require('./gcc');
+import { GCCCompiler } from './gcc';
-class TenDRACompiler extends GccCompiler {
+export class TenDRACompiler extends GCCCompiler {
static get key() { return 'tendra'; }
optionsForFilter(filters, outputFilename) {
@@ -10,5 +9,3 @@ class TenDRACompiler extends GccCompiler {
return options;
}
}
-
-module.exports = TenDRACompiler;