From f8b4a6f168623d5f1b166448e35ee3f9f940c93e Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 3 Apr 2020 22:21:17 +0300 Subject: [PATCH] Disable vfmt for now. --- cmd/tools/vfmt.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/tools/vfmt.v b/cmd/tools/vfmt.v index 923c8b2e34..290ae5e455 100644 --- a/cmd/tools/vfmt.v +++ b/cmd/tools/vfmt.v @@ -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()