@adguard/diff-builder
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -9,2 +9,11 @@ # Diff Builder Changelog | ||
## [1.0.18] - 2024-04-04 | ||
### Fixed | ||
- Do not fail if the old version of the filter does not exist [#3]. | ||
[#3]: https://github.com/AdguardTeam/DiffBuilder/issues/3 | ||
[1.0.18]: https://github.com/AdguardTeam/DiffBuilder/compare/v1.0.17...v1.0.18 | ||
## [1.0.17] - 2024-03-25 | ||
@@ -11,0 +20,0 @@ |
{ | ||
"name": "@adguard/diff-builder", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "A tool for generating differential updates for filter lists.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -511,2 +511,8 @@ /// <reference path="../../types/diff.d.ts" /> | ||
if (!fs.existsSync(absoluteOldListPath)) { | ||
// eslint-disable-next-line max-len | ||
log(`Older version for filter "${newFilterPath}" not found. Checked path: "${absolutePatchesPath}". Looks like it is the first version of the filter. Skipping diff generation.`); | ||
return; | ||
} | ||
log(`Checking diff between "${absoluteOldListPath}" and "${absoluteNewListPath}".`); | ||
@@ -513,0 +519,0 @@ log(`Path to patches: "${absolutePatchesPath}".`); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
382166
7565