Skip to content

Commit 8e0a57d

Browse files
judge2020develar
authored andcommitted
fix(electron-publish): Allow GH integration tokens (#4225)
Close #4176
1 parent 5bf4498 commit 8e0a57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/builder-util/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export function isEmptyOrSpaces(s: string | null | undefined): s is "" | null |
264264
}
265265

266266
export function isTokenCharValid(token: string) {
267-
return /^[\w\/=+-]+$/.test(token)
267+
return /^[.\w\/=+-]+$/.test(token)
268268
}
269269

270270
export function addValue<K, T>(map: Map<K, Array<T>>, key: K, value: T) {

0 commit comments

Comments
 (0)