mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
Lint fix
This commit is contained in:
parent
350679bc83
commit
e1aff1a315
@ -1639,8 +1639,7 @@ export const ns: InternalAPI<NSFull> = {
|
||||
$.get(
|
||||
url,
|
||||
function (data) {
|
||||
let res;
|
||||
res = server.writeToContentFile(target, data);
|
||||
const res = server.writeToContentFile(target, data);
|
||||
if (res.overwritten) {
|
||||
helpers.log(ctx, () => `Successfully retrieved content and overwrote '${target}' on '${hostname}'`);
|
||||
return resolve(true);
|
||||
|
Loading…
Reference in New Issue
Block a user