Skip to content

Commit

Permalink
Update services/chrome-web-store/chrome-web-store-size.service.js
Browse files Browse the repository at this point in the history
Co-authored-by: jNullj <[email protected]>
  • Loading branch information
chris48s and jNullj authored Jan 17, 2025
1 parent 5b3388b commit ca0d7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/chrome-web-store/chrome-web-store-size.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class ChromeWebStoreSize extends BaseChromeWebStoreService {
}

static transform(sizeStr) {
const match = sizeStr.match(/^([\d.]+)([a-zA-Z]+)$/)
const match = sizeStr.match(/^(\d+(?:\.\d+)?)([a-zA-Z]+)$/)
if (!match) {
throw new InvalidResponse({
prettyMessage: 'size does not match expected format',
Expand Down

0 comments on commit ca0d7fc

Please sign in to comment.