Skip to content

Commit

Permalink
fix auto-upgrade not skip SYNC_EXTERNAL (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet authored Sep 11, 2024
1 parent b9d0d42 commit 425ec23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async function autoUpgradeDocs() {
const needSyncYamlDirs = new Set(needSyncYamlFiles.map(file => path.dirname(file).split(path.sep).slice(0, 2).join(path.sep)));
const allDocMdDirs = new Set(allDocMdFiles.map(file => path.dirname(file).split(path.sep).slice(0, 2).join(path.sep)));
const syncExternalDirs = new Set(syncExternalFiles.map(file => path.dirname(file).split(path.sep).slice(0, 2).join(path.sep)));
const manuallyMaintainedConnectors = new Set([...allDocMdDirs].filter(dir => !needSyncYamlDirs.has(dir) || !syncExternalDirs.has(dir)));
const manuallyMaintainedConnectors = new Set([...allDocMdDirs].filter(dir => !needSyncYamlDirs.has(dir)).filter(dir => !syncExternalDirs.has(dir)));

let specimenVersions = getConnectorVersions(specimenConnectorPath);
// Cut the version to three digits
Expand Down

0 comments on commit 425ec23

Please sign in to comment.