Skip to content

Commit

Permalink
fix: from and to entry should be in same array
Browse files Browse the repository at this point in the history
  • Loading branch information
issammani committed Feb 5, 2025
1 parent 77cd0f6 commit 0feaf71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function getSharedCredentialsLegacyFormat() {
if (entry.shared) {
legacyOutput.push(entry.shared);
} else if (entry.from && entry.to) {
legacyOutput.push(...entry.from, ...entry.to);
legacyOutput.push([...entry.from, ...entry.to]);
} else {
console.error("ERROR: Could not convert entry to legacy format.", entry);
}
Expand Down

0 comments on commit 0feaf71

Please sign in to comment.