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(
|
$.get(
|
||||||
url,
|
url,
|
||||||
function (data) {
|
function (data) {
|
||||||
let res;
|
const res = server.writeToContentFile(target, data);
|
||||||
res = server.writeToContentFile(target, data);
|
|
||||||
if (res.overwritten) {
|
if (res.overwritten) {
|
||||||
helpers.log(ctx, () => `Successfully retrieved content and overwrote '${target}' on '${hostname}'`);
|
helpers.log(ctx, () => `Successfully retrieved content and overwrote '${target}' on '${hostname}'`);
|
||||||
return resolve(true);
|
return resolve(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user