From b7e2af8151dc276a58f9b7eea8ac554049ce1f55 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 4 Mar 2020 20:29:17 +0100 Subject: [PATCH] os: better deprecated message --- vlib/os/os.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os.v b/vlib/os/os.v index 464bbfeac9..569e1620f1 100644 --- a/vlib/os/os.v +++ b/vlib/os/os.v @@ -603,7 +603,7 @@ pub fn is_readable(path string) bool { [deprecated] pub fn file_exists(_path string) bool { - panic('use os.exists(path) instead of os.file_exists(path)') + panic('Use `os.exists` instead of `os.file_exists`') } // rm removes file in `path`.