Skip to content

Commit

Permalink
Fixing regex for plan name
Browse files Browse the repository at this point in the history
  • Loading branch information
binarycleric committed Oct 10, 2023
1 parent 8c2de0a commit 35ae687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can install it by running:
}

function * ensureEssentialTierPlan (db) {
if (db.plan.name.match(/(dev|basic|essential)$/)) {
if (db.plan.name.match(/(dev|basic|essential-[0-9]+)$/)) {
throw new Error('This operation is not supported by Essential-tier databases.')
}
}
Expand Down

0 comments on commit 35ae687

Please sign in to comment.