Skip to content

Commit

Permalink
chore: improve i18next diff scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dbudzins committed Aug 30, 2023
1 parent 4494454 commit 999546b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/i18next/diff-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const changes: {
} = {};

function run() {
const fileChanges = execSync('git diff -U200000 --no-prefix release..release-candidate public/locales')
execSync('git fetch');

const fileChanges = execSync('git diff -U200000 --no-prefix origin/release..origin/release-candidate public/locales')
.toString()
.split('\n')
.filter((s) => !!s)
Expand Down

0 comments on commit 999546b

Please sign in to comment.