mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
CODEBASE: Expand lint rules, and Aliases are stored as maps (#501)
This commit is contained in:
@@ -19,7 +19,7 @@ function baseCheck(server: Server, fnName: string): IReturnStatus {
|
||||
};
|
||||
}
|
||||
|
||||
if (server.hasAdminRights === false) {
|
||||
if (!server.hasAdminRights) {
|
||||
return {
|
||||
res: false,
|
||||
msg: `Cannot ${fnName} ${hostname} server because you do not have root access`,
|
||||
|
||||
Reference in New Issue
Block a user