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

do not create ~/.vlang directory

This commit is contained in:
Alexander Medvednikov
2019-07-16 17:42:04 +02:00
parent e638e47af5
commit 1748632144
2 changed files with 28 additions and 21 deletions

View File

@ -99,7 +99,7 @@ fn (f mut Fn) clear_vars() {
// vlib header file?
fn (p mut Parser) is_sig() bool {
return (p.pref.build_mode == .default_mode || p.pref.build_mode == .build) &&
(p.file_path.contains(TmpPath))
(p.file_path.contains(ModPath))
}
fn new_fn(pkg string, is_public bool) *Fn {