1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vast: accept .vv file (#10305)

This commit is contained in:
zakuro
2021-06-02 22:10:15 +09:00
committed by GitHub
parent 4b2319fd67
commit 3e89b60784

View File

@@ -73,7 +73,7 @@ fn get_abs_path(path string) string {
// check file is v file and exists
fn check_file(file string) {
if os.file_ext(file) !in ['.v', '.vsh'] {
if os.file_ext(file) !in ['.v', '.vv', '.vsh'] {
panic('the file `$file` must be a v file or vsh file')
}
if !os.exists(file) {