Skip to content

Commit

Permalink
Should skip if no version changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Apr 11, 2024
1 parent e27cd12 commit d0fb073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli/config/config.diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getVectorChanges(newLayer: StacLink | undefined, existingLayer:
if (newLayer['lds:version'] === existingLayer['lds:version'] && featureChange !== 0) {
// Alert if feature changed with no version bump.
return `🟥🟥🟥🟥 Feature Change Detected ${newLayer['lds:name']} - version: ${newLayer['lds:version']} features: ${newLayer['lds:feature_count']} (+${featureChange}) 🟥🟥🟥🟥`;
}
} else if (newLayer['lds:version'] === existingLayer['lds:version']) return null;

if (featureChange >= 0) {
// Add Features
Expand Down

0 comments on commit d0fb073

Please sign in to comment.