Skip to content

Commit

Permalink
style: auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 18, 2024
1 parent a99b35f commit a11404e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/utils/wechat-mp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class ExtractMetadata {
$,
(script) => {
const scriptText = $(script).text();
const metadataExtracted = <Record<string, string>> this.doExtract(this.commonMetadataToBeExtracted, scriptText);
const metadataExtracted = <Record<string, string>>this.doExtract(this.commonMetadataToBeExtracted, scriptText);
const showType = showTypeMapReverse[metadataExtracted.showType];
const realShowType = showTypeMapReverse[metadataExtracted.realShowType];
metadataExtracted.sourceUrl = metadataExtracted.sourceUrl && fixUrl(metadataExtracted.sourceUrl);
Expand Down Expand Up @@ -191,7 +191,7 @@ class ExtractMetadata {
$,
(script) => {
const scriptText = $(script).text();
const metadataExtracted = <Record<string, string>> this.doExtract(this.audioMetadataToBeExtracted, scriptText);
const metadataExtracted = <Record<string, string>>this.doExtract(this.audioMetadataToBeExtracted, scriptText);
throw new LoopReturn(metadataExtracted);
},
{},
Expand All @@ -207,7 +207,7 @@ class ExtractMetadata {
$,
(script) => {
const scriptText = $(script).text();
const metadataExtracted = <Record<string, string[]>> this.doExtract(this.imgMetadataToBeExtracted, scriptText);
const metadataExtracted = <Record<string, string[]>>this.doExtract(this.imgMetadataToBeExtracted, scriptText);
if (Array.isArray(metadataExtracted.imgUrls)) {
metadataExtracted.imgUrls = metadataExtracted.imgUrls.map((url) => fixUrl(url));
}
Expand Down

0 comments on commit a11404e

Please sign in to comment.