Skip to content

Commit

Permalink
fix: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 authored Jan 25, 2024
1 parent 222c45c commit 41fbd40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface PluginMainifest {
type: 'none' | string;
};
description_for_human: string;
legal_info_url: string;
logo_url: string;
name_for_human: string;
name_for_model: string;
Expand Down Expand Up @@ -89,9 +90,11 @@ const run = async () => {

consola.success(`Synced ${path}`);

const domain = manifestJson.legal_info_url || manifest;

return {
author: author || getAuthor(manifest),
homepage: homepage || getDomainFromUrl(manifest),
author: author || getAuthor(domain),
homepage: homepage || manifestJson.legal_info_url || getDomainFromUrl(domain),
identifier: manifestJson.name_for_model,
manifest: urlJoin(BASE_URL, path, 'manifest.json'),
meta: {
Expand Down

0 comments on commit 41fbd40

Please sign in to comment.