Skip to content

Commit

Permalink
fix diff in prepare script
Browse files Browse the repository at this point in the history
since we removed main branch
  • Loading branch information
jazzsequence committed Jan 30, 2024
1 parent 518924b commit fde423d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bin/prepare-wp-upstreams.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function update_json() {
git -C "${wp_dir}" fetch wpms-fixture

echo "Checking if wp is ahead of wpms..."
if git -C "${wp_dir}" log --oneline wpms-fixture/main..origin/master; then
if git -C "${wp_dir}" log --oneline wpms-fixture/master..origin/master; then
echo "wp fixture is already ahead of wpms fixture. Skipping json update."
else
# Parse the JSON file.
Expand Down

0 comments on commit fde423d

Please sign in to comment.