remove unnecessary check in setup wizard
This commit is contained in:
parent
7be7496ec8
commit
d30cdabfe5
@ -131,7 +131,7 @@ pub fn wizard(allocator: std.mem.Allocator) !void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var config_path: []const u8 = undefined;
|
var config_path: []const u8 = undefined;
|
||||||
if (can_access_global and global_path != null and try askBool("Should this configuration be system-wide?")) {
|
if (can_access_global and try askBool("Should this configuration be system-wide?")) {
|
||||||
config_path = global_path.?;
|
config_path = global_path.?;
|
||||||
} else {
|
} else {
|
||||||
if (local_path) |p| {
|
if (local_path) |p| {
|
||||||
|
Loading…
Reference in New Issue
Block a user