style: format with prettier

Signed-off-by: WANG Xuerui <git@xen0n.name>
This commit is contained in:
WANG Xuerui 2024-12-23 15:15:11 +08:00
parent f5f5520ba6
commit d67838e578
No known key found for this signature in database
GPG key ID: 99797B0EB13A6337
2 changed files with 2 additions and 2 deletions

View file

@ -188,7 +188,7 @@ export const upload = async (
"content-type": mime, "content-type": mime,
authorization: `token ${config.github_token}`, authorization: `token ${config.github_token}`,
}, },
data: fh.readableWebStream({type: "bytes"}), data: fh.readableWebStream({ type: "bytes" }),
}); });
const json = resp.data; const json = resp.data;
if (resp.status !== 201) { if (resp.status !== 201) {

View file

@ -112,4 +112,4 @@ export const isTag = (ref: string): boolean => {
export const alignAssetName = (assetName: string): string => { export const alignAssetName = (assetName: string): string => {
return assetName.replace(/ /g, "."); return assetName.replace(/ /g, ".");
}; };