mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
NETSCRIPT: format fixes
The command `npm run format` reports some formatting issues under `src/ScriptEditor`. Fix the reported formatting issues.
This commit is contained in:
parent
5e4a393495
commit
d8ef63cfe9
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -75,7 +75,7 @@ interface Player {
|
|||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export interface Multipliers {
|
export interface Multipliers {
|
||||||
/** Multiplier to hacking skill */
|
/** Multiplier to hacking skill */
|
||||||
hacking?: number;
|
hacking?: number;
|
||||||
/** Multiplier to strength skill */
|
/** Multiplier to strength skill */
|
||||||
|
@ -803,7 +803,9 @@ export function Root(props: IProps): React.ReactElement {
|
|||||||
...colorProps,
|
...colorProps,
|
||||||
};
|
};
|
||||||
|
|
||||||
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(index)}`;
|
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(
|
||||||
|
index,
|
||||||
|
)}`;
|
||||||
return (
|
return (
|
||||||
<Draggable
|
<Draggable
|
||||||
key={fileName + hostname}
|
key={fileName + hostname}
|
||||||
|
Loading…
Reference in New Issue
Block a user