fix lint
This commit is contained in:
parent
f3c4151e24
commit
c346ad66db
6 changed files with 216 additions and 219 deletions
|
@ -4,7 +4,7 @@ export async function readPasteGG(s: string): Promise<null | string> {
|
|||
const r = s.match(reg);
|
||||
if (r == null || !r[0]) return null;
|
||||
const link = r[0];
|
||||
const id = link.replace(/https\:\/\/paste.gg\/p\/[\w]*\//, '');
|
||||
const id = link.replace(/https:\/\/paste.gg\/p\/[\w]*\//, '');
|
||||
if (!id) return null;
|
||||
let log: string;
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue