Skip to content

Commit

Permalink
fix: remove whitespaces around extension id
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Nov 15, 2024
1 parent eb6d098 commit 94b1b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const keplr = {
async getExtensionDetails() {
const keplrExtensionData = (await playwright.getExtensionsData()).keplr;

extensionId = keplrExtensionData.id;
extensionId = keplrExtensionData.id.trim();
extensionVersion = keplrExtensionData.version;
registrationUrl = `chrome-extension://${extensionId}/register.html`;
permissionsUrl = `chrome-extension://${extensionId}/popup.html#/setting/security/permission`;
Expand Down
2 changes: 1 addition & 1 deletion commands/playwright-keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = {
} else if (
page
.url()
.includes(`chrome-extension://${keplrExtensionData.id}/register.html`)
.includes(`chrome-extension://${keplrExtensionData.id.trim()}/register.html`)
) {
keplrWindow = page;
}
Expand Down

0 comments on commit 94b1b8d

Please sign in to comment.