Skip to content

Commit

Permalink
change storeURL.match rule
Browse files Browse the repository at this point in the history
  • Loading branch information
watanabeyu committed May 9, 2019
1 parent 5ea6d1e commit 31ba0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const checkIOS: checkPlatform = async (version: string, storeURL: string) => {
const appID = storeURL.match(/.+id([0-9]+)\?/);
const appID = storeURL.match(/.+id([0-9]+)\??/);

if (!appID) {
throw new Error('iosStoreURL is invalid.');
Expand Down

0 comments on commit 31ba0c7

Please sign in to comment.