Commit cbce9748 authored by yann300's avatar yann300

allow compilation for file that has a suffix . e.g .sol#v1.2

parent d2e8cd6b
......@@ -38,7 +38,7 @@ class CompileTab {
this.editor.clearAnnotations()
var currentFile = this.config.get('currentFile')
if (!currentFile) return
if (!/\.sol$/.exec(currentFile)) return
if (!/\.sol/.exec(currentFile)) return
// only compile *.sol file.
var target = currentFile
var sources = {}
......
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