Skip to content

Commit

Permalink
chore: remove unnecessary log statements (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealAmazonKendra authored Aug 13, 2024
1 parent a96063b commit 145cd15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projenrc/update-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { exec, log } from './util';

export function schemasChanged(): boolean {
const branch = exec(['git', 'rev-parse', '--abbrev-ref', 'HEAD']);
console.log(exec(['git', 'fetch', 'origin', '--prune']));
console.log(exec(['git', 'branch', '-a']));
exec(['git', 'fetch', 'origin', '--prune']);
const changes = exec(['git', 'diff', '--name-only', branch, 'remotes/origin/main']).split('\n');
return changes.filter((change) => getGeneratedSchemaPaths().includes(change)).length > 0;
}
Expand Down

0 comments on commit 145cd15

Please sign in to comment.