mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
Format+lint
This commit is contained in:
@@ -30,11 +30,11 @@ export function cd(
|
||||
terminal.error("Invalid path. Failed to change directories");
|
||||
return;
|
||||
}
|
||||
if (terminal.cwd().length>1 && dir === ".."){
|
||||
if (terminal.cwd().length > 1 && dir === "..") {
|
||||
terminal.setcwd(evaledDir);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
const server = player.getCurrentServer();
|
||||
if (!containsFiles(server, evaledDir)) {
|
||||
terminal.error("Invalid path. Failed to change directories");
|
||||
|
||||
Reference in New Issue
Block a user