mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
Fix linter errors
This commit is contained in:
parent
ea0be338e1
commit
6b59a58ea3
@ -819,7 +819,7 @@ export function NetscriptSingularity(
|
|||||||
|
|
||||||
return player.getUpgradeHomeRamCost();
|
return player.getUpgradeHomeRamCost();
|
||||||
},
|
},
|
||||||
workForCompany: function (companyName: any, focus: boolean = true): any {
|
workForCompany: function (companyName: any, focus = true): any {
|
||||||
helper.updateDynamicRam("workForCompany", getRamCost("workForCompany"));
|
helper.updateDynamicRam("workForCompany", getRamCost("workForCompany"));
|
||||||
helper.checkSingularityAccess("workForCompany", 2);
|
helper.checkSingularityAccess("workForCompany", 2);
|
||||||
|
|
||||||
@ -991,7 +991,7 @@ export function NetscriptSingularity(
|
|||||||
workerScript.log("joinFaction", () => `Joined the '${name}' faction.`);
|
workerScript.log("joinFaction", () => `Joined the '${name}' faction.`);
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
workForFaction: function (name: any, type: any, focus: boolean = true): any {
|
workForFaction: function (name: any, type: any, focus = true): any {
|
||||||
helper.updateDynamicRam("workForFaction", getRamCost("workForFaction"));
|
helper.updateDynamicRam("workForFaction", getRamCost("workForFaction"));
|
||||||
helper.checkSingularityAccess("workForFaction", 2);
|
helper.checkSingularityAccess("workForFaction", 2);
|
||||||
getFaction("workForFaction", name);
|
getFaction("workForFaction", name);
|
||||||
|
@ -24,7 +24,7 @@ export async function main(ns) {
|
|||||||
|
|
||||||
export function commonEditor(
|
export function commonEditor(
|
||||||
command: string,
|
command: string,
|
||||||
{ terminal, router, player, server, args }: EditorParameters,
|
{ terminal, router, player, args }: EditorParameters,
|
||||||
scriptEditorRouteOptions?: ScriptEditorRouteOptions,
|
scriptEditorRouteOptions?: ScriptEditorRouteOptions,
|
||||||
): void {
|
): void {
|
||||||
if (args.length < 1) {
|
if (args.length < 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user