mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53: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("~");
|
const rowSplit = row.split("~");
|
||||||
let rowSplitArray = rowSplit.map((x) => [x.trim(), x.replace(x.trim(), "")]);
|
let rowSplitArray = rowSplit.map((x) => [x.trim(), x.replace(x.trim(), "")]);
|
||||||
console.log(rowSplitArray);
|
rowSplitArray = rowSplitArray.filter((x) => !!x[0]);
|
||||||
rowSplitArray = rowSplitArray.filter((x) => !!x);
|
|
||||||
|
|
||||||
function onScriptLinkClick(filename: string): void {
|
function onScriptLinkClick(filename: string): void {
|
||||||
if (player.getCurrentServer().hostname !== hostname) {
|
if (player.getCurrentServer().hostname !== hostname) {
|
||||||
|
Loading…
Reference in New Issue
Block a user