mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 23:27:55 +02:00
Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden
This commit is contained in:
@@ -14,11 +14,9 @@ export function unalias(
|
||||
if (args.length !== 1) {
|
||||
terminal.error("Incorrect usage of unalias name. Usage: unalias [alias]");
|
||||
return;
|
||||
} else {
|
||||
if (removeAlias(args[0] + "")) {
|
||||
} else if (removeAlias(args[0] + "")) {
|
||||
terminal.print(`Removed alias ${args[0]}`);
|
||||
} else {
|
||||
terminal.error(`No such alias exists: ${args[0]}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user