diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js index 56d88f8..1a2afe4 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.tmpl.js @@ -138,7 +138,6 @@ httpLib.ifModifiedSince(pacUrl, lastModifiedStr, (err, newLastModifiedStr) => { if (!newLastModifiedStr) { - const res = {lastModified: lastModifiedStr}; const ifWasEverModified = lastModifiedStr !== new Date(0).toUTCString(); if (ifWasEverModified) { @@ -146,7 +145,7 @@ 'Ваш PAC-скрипт не нуждается в обновлении. Его дата: ' + lastModifiedStr ); - + const res = {lastModified: lastModifiedStr}; return cb(null, res); } }