aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/analysis-tool.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/analysis-tool.js
parentbac07fea6d2d4ed5fb7070c51e4cf3e56e3c155a (diff)
downloadcompiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.tar.gz
compiler-explorer-044dcfbf8885d0115e64cf75f74a0f40f54e2370.zip
Use ES6 Modules (#2132)
Diffstat (limited to 'lib/compilers/analysis-tool.js')
-rw-r--r--lib/compilers/analysis-tool.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/compilers/analysis-tool.js b/lib/compilers/analysis-tool.js
index e7bcd2f6b..6c88a31ac 100644
--- a/lib/compilers/analysis-tool.js
+++ b/lib/compilers/analysis-tool.js
@@ -22,10 +22,10 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
-const BaseCompiler = require('../base-compiler');
+import { BaseCompiler } from '../base-compiler';
// Plain compiler, which just runs the tool and returns whatever the output was
-class AnalysisTool extends BaseCompiler {
+export class AnalysisTool extends BaseCompiler {
static get key() { return 'analysis-tool'; }
constructor(info, env) {
@@ -46,6 +46,3 @@ class AnalysisTool extends BaseCompiler {
};
}
}
-
-
-module.exports = AnalysisTool;