diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-12-13 21:50:28 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-12-13 21:50:28 +0800 |
commit | 2593dcdf47ec25222396f9113ca5696ec15df35e (patch) | |
tree | ddcb9c03655b19741fcdf54eea527ff1efe2ab35 /test.bats | |
parent | a5ca44514fb45c24b93b9b640d43db2fbe12c16e (diff) |
Fix pattern check for token
Currently, Github might have token in the following format:
ghp_I1M4zc8z4Qi8c5KNf93KyBHGkP9Azq00Bup1
So we need to include underscore.
Also, add pattern for hyphen and consider the case more than 40
characters.
Diffstat (limited to 'test.bats')
0 files changed, 0 insertions, 0 deletions