This commit is contained in:
Snarling 2023-04-28 11:49:05 -04:00
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);