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

Disable vfmt for now.

This commit is contained in:
Delyan Angelov 2020-04-03 22:21:17 +03:00
parent 1d2de44e19
commit f8b4a6f168

View File

@ -42,6 +42,10 @@ const (
)
fn main() {
if os.getenv('VFMT_ENABLE') == '' {
eprintln('v fmt is disabled for now')
exit(1)
}
toolexe := os.executable()
util.set_vroot_folder(os.dir(os.dir(os.dir(toolexe))))
args := join_flags_and_argument()