Unverified Commit 79ce4ce0 authored by bunsenstraat's avatar bunsenstraat Committed by GitHub

Merge branch 'master' into github

parents 067837b0 094ffae3
...@@ -115,11 +115,13 @@ export const CompilerApiMixin = (Base) => class extends Base { ...@@ -115,11 +115,13 @@ export const CompilerApiMixin = (Base) => class extends Base {
* @param {string} fileName to compile * @param {string} fileName to compile
*/ */
compile (fileName) { compile (fileName) {
this.currentFile = fileName
return this.compileTabLogic.compileFile(fileName) return this.compileTabLogic.compileFile(fileName)
} }
compileFile (event) { compileFile (event) {
if (event.path.length > 0) { if (event.path.length > 0) {
this.currentFile = event.path[0]
this.compileTabLogic.compileFile(event.path[0]) this.compileTabLogic.compileFile(event.path[0])
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment