File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,16 @@ module OS
45
45
end
46
46
47
47
if OS . windows?
48
+
48
49
if not `reg query "HKU\\ S-1-5-19"` # https://stackoverflow.com/a/6691678
49
50
abort ( "Please run this Vagrant instance from Administrator (needed for creating symlinks)." )
50
51
end
51
- end
52
52
53
- if `git config core.symlinks` . strip! != 'true'
54
- # Probably running on Windows which have symlinks disabled by default (as they require Administrator privileges)
55
- abort ( "Git's core.symlinks is set to false; please set to true and clone the repository again." )
53
+ if `git config core.symlinks` . strip! != 'true'
54
+ # Probably running on Windows which have symlinks disabled by default (as they require Administrator privileges)
55
+ abort ( "Git's core.symlinks is set to false; please set to true and clone the repository again." )
56
+ end
57
+
56
58
end
57
59
58
60
You can’t perform that action at this time.
0 commit comments