Skip to content

Commit

Permalink
use startsWith for dbs check.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Nov 23, 2023
1 parent 483d128 commit b221f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/utils/dbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const dbs = {};
Object.keys(process.env)

// Filter keys which start with DBS
.filter(key => /^DBS_/.test(key))
.filter(key => key.startsWith('DBS_'))

.forEach(key => {

Expand Down

0 comments on commit b221f85

Please sign in to comment.