Skip to content

Commit

Permalink
Use RegExp consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeepnanua-okta committed Dec 16, 2024
1 parent b00ffef commit cf942b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const copyCredentialsMessage = 'You can copy it from the Okta Developer Console
`Follow these instructions to find it: ${findAppCredentialsURL}`;

const isHttps = new RegExp('^https://');
const hasDomainAdmin = /-admin.(okta|oktapreview|okta-emea).com/;
const hasDomainAdmin = new RegExp('admin.(okta|oktapreview|okta-emea).com');

function assertIssuer(issuer, testing = {}){
const copyMessage = 'You can copy your domain from the Okta Developer ' +
Expand Down

0 comments on commit cf942b2

Please sign in to comment.