Skip to content

Commit

Permalink
Merge pull request #82 from loathers/deps
Browse files Browse the repository at this point in the history
hotfix! in the ES module
  • Loading branch information
gausie authored Jun 5, 2024
2 parents 93c7a57 + 7f231ee commit 9159522
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
File renamed without changes.
4 changes: 1 addition & 3 deletions packages/greenbox-script/src/greenbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function checkMeta() {
const hasFlag = (args: string, ...flags: string[]) =>
flags.some((f) => args.includes(f));

function main(args = ""): void {
export function main(args = ""): void {
if (hasFlag(args, "--help", "-h")) {
printHtml(`
Usage:
Expand Down Expand Up @@ -323,5 +323,3 @@ function main(args = ""): void {
`All done! To see your greenboxes, visit: <a href="${link}">${link}</a>`,
);
}

module.exports.main = main;

0 comments on commit 9159522

Please sign in to comment.