os: vfmt os.v

pull/8292/head
Alexander Medvednikov 2021-01-23 10:33:53 +01:00
parent 45cc3ec664
commit c21f57ff59
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ pub fn is_file(path string) bool {
// is_abs_path returns `true` if `path` is absolute.
pub fn is_abs_path(path string) bool {
$if windows {
return path[0] == `/` || // incase we're in MingGW bash
return path[0] == `/` || // incase we're in MingGW bash
(path[0].is_letter() && path[1] == `:`)
}
return path[0] == `/`