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(
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);