mirror of
https://github.com/shufflewzc/faker3.git
synced 2025-07-03 10:33:17 +08:00
update
This commit is contained in:
2
ql.js
2
ql.js
@ -33,7 +33,7 @@ function getLatestFile(files) {
|
||||
async function getToken() {
|
||||
const authConfig = await readFile(authFile)
|
||||
// console.log(authConfig.toString().match(/"token":"(.*?)",/)[1])
|
||||
return authConfig.toString().match(/"token":"(.*?)",/)[1]
|
||||
return authConfig.toString().match(/"token":"([^"]*)"(?!.*"token":)/)[1]
|
||||
}
|
||||
|
||||
module.exports.getEnvs = async () => {
|
||||
|
Reference in New Issue
Block a user