forked from naskya/firefish
chore: format
This commit is contained in:
parent
cb88b00785
commit
4ebceb0c7e
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ export default define(meta, paramDef, async () => {
|
|||
let tag_name: string;
|
||||
const pattern = /"version": "(.*)",$/m;
|
||||
|
||||
await fetch("https://code.naskya.net/naskya/firefish/source-by/main/package.json")
|
||||
await fetch(
|
||||
"https://code.naskya.net/naskya/firefish/source-by/main/package.json",
|
||||
)
|
||||
.then((response) => response.text())
|
||||
.then((text) => {
|
||||
tag_name = pattern.exec(text)[1];
|
||||
|
|
Loading…
Reference in a new issue