mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Review comments by ApamNapat
This commit is contained in:
parent
a575c0cfe3
commit
2871bba379
@ -139,12 +139,9 @@ export function ls(
|
||||
}),
|
||||
)();
|
||||
|
||||
console.log(row);
|
||||
|
||||
const rowSplit = row.split("~");
|
||||
let rowSplitArray = rowSplit.map((x) => [x.trim(), x.replace(x.trim(), "")]);
|
||||
console.log(rowSplitArray);
|
||||
rowSplitArray = rowSplitArray.filter((x) => !!x);
|
||||
rowSplitArray = rowSplitArray.filter((x) => !!x[0]);
|
||||
|
||||
function onScriptLinkClick(filename: string): void {
|
||||
if (player.getCurrentServer().hostname !== hostname) {
|
||||
|
Loading…
Reference in New Issue
Block a user