Skip to content

Commit

Permalink
fix: clean gh tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Jul 19, 2023
1 parent 74229e8 commit 90dfc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gh/render/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const paginate = ({ isRunning, index, rows, perPage }) => {
const cleaner = (args) =>
args.map((a) =>
typeof a === 'string'
? a.replace(/\bnpm_[a-zA-Z0-9]{36}\b/g, 'npm_*****')
? a.replace(/\b(npm|ghp)_[a-zA-Z0-9]{36}\b/g, '$1_*****')
: a
)

Expand Down

0 comments on commit 90dfc1b

Please sign in to comment.