Commit 711b3c6b authored by bunsenstraat's avatar bunsenstraat Committed by Aniket

Update compile-tab.js

parent 4abc4d9e
...@@ -126,7 +126,9 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA ...@@ -126,7 +126,9 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA
}) })
try { try {
this.currentFile = await this.call('fileManager', 'file') this.currentFile = await this.call('fileManager', 'file')
} catch (error) {} } catch (error) {
if (error.message !== 'Error: No such file or directory No file selected') throw new Error(error.message)
}
} }
getCompilerParameters () { getCompilerParameters () {
......
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