Skip to content

Commit

Permalink
chore(setup): update repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Oct 15, 2024
1 parent dc173bf commit c5f899a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/setup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ let pkg = JSON.parse(fs.readFileSync("package.json", "utf8"));
pkg.name = pkgName;
pkg.description = description;
pkg.keywords = [];
pkg.repository = repo || `${author}/${repoName}`;
pkg.repository =
repo && !repo.includes("github") ? repo : `${author}/${repoName}`;
if (!isWop) {
pkg.maintainers = void 0;
}
Expand Down

0 comments on commit c5f899a

Please sign in to comment.