Merge pull request #4186 from quacksouls/ns-format

NETSCRIPT: format fixes
This commit is contained in:
hydroflame
2022-10-04 11:43:03 -04:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ interface Player {
/**
* @public
*/
export interface Multipliers {
export interface Multipliers {
/** Multiplier to hacking skill */
hacking?: number;
/** Multiplier to strength skill */

View File

@@ -803,7 +803,9 @@ export function Root(props: IProps): React.ReactElement {
...colorProps,
};
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(index)}`;
const scriptTabText = `${hostname}:~${fileName.startsWith("/") ? "" : "/"}${fileName} ${dirty(
index,
)}`;
return (
<Draggable
key={fileName + hostname}