Skip to content

Commit

Permalink
ci: Fixed proto-extract
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Aug 2, 2023
1 parent ab2b530 commit 555cc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto-extract/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function findAppModules() {
console.error('Found source JS URL:', bootstrapQRURL)

const qrData = await request.get(bootstrapQRURL, ua)
const waVersion = qrData.match(/appVersion:"(\d\.\d+\.\d+)"/)[1]
const waVersion = qrData.match(/(?:appVersion:|VERSION_STR=)"(\d\.\d+\.\d+)"/)[1]
console.log('Current version:', waVersion)
// This one list of types is so long that it's split into two JavaScript declarations.
// The module finder below can't handle it, so just patch it manually here.
Expand Down

3 comments on commit 555cc9b

@letovskydev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is banning number?

@letovskydev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if no fix

@roniahmadi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah same too, my number is banning

Please sign in to comment.