Commit c0bbb91
authored
Check filetype for anon execution instead of file extension
The current implementation checks an anonymous buffer for the extension: 'apex'. Only in this case its possible to run the current file in an anonymous execution.
It makes more sense to check if the filetype is 'apex' since its not necessary to save a file for anonymous execution1 parent 88b10f2 commit c0bbb91
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments