mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
Fixed numerous reported bugs. Refactored some of the directory-related code. Added documentation for MasonDs changes to hack/grow/weaken
This commit is contained in:
+1
-1
@@ -1475,7 +1475,7 @@ let Terminal = {
|
||||
}
|
||||
|
||||
let url = commandArray[1];
|
||||
let target = commandArray[2];
|
||||
let target = Terminal.getFilepath(commandArray[2]);
|
||||
if (!isScriptFilename(target) && !target.endsWith(".txt")) {
|
||||
return post(`wget failed: Invalid target file. Target file must be script or text file`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user