Skip to content

Commit

Permalink
fix: protobuf moved to main branch (#426)
Browse files Browse the repository at this point in the history
...glad we have tests that caught it :)
  • Loading branch information
alexander-fenster committed Apr 26, 2022
1 parent c8df19d commit a8b9121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/prepublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ async function main() {
}
);

await extractAsync('https://github.com/google/protobuf/archive/master.zip', {
await extractAsync('https://github.com/google/protobuf/archive/main.zip', {
strip: 2,
filter: file => {
return (
file.parent.indexOf('protobuf-master') === 0 &&
file.parent.indexOf('protobuf-master/src/') === 0 &&
file.parent.indexOf('protobuf-main') === 0 &&
file.parent.indexOf('protobuf-main/src/') === 0 &&
file.parent.indexOf('/internal') === -1 &&
file.filename.indexOf('unittest') === -1 &&
file.filename.indexOf('test') === -1
Expand Down

0 comments on commit a8b9121

Please sign in to comment.