-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report: cli not working #15
Comments
@fritx Upgrade |
You are so 🚀 ! |
Also, finally get it to work with two more patches: generated-badges -l foobar -s 666 --output build/badges/foobar.svg - if (argvs.gradient.length === 1) {
+ if (argvs.gradient && argvs.gradient.length === 1) {
argvs.color = argvs.gradient[0];
} fixing:
let svgString = badgen({
label: argvs.label,
labelColor: argvs.labelColor,
- status: argvs.status,
+ status: String(argvs.status), fixing:
|
@fritx Upgrade |
hey @jaywcjlove the problem is not fixed. I guess you should also execute otherwise, the dist files still missing in the published npm-package |
https://unpkg.com/browse/[email protected]/ Maybe I'm too fast |
@fritx problem found |
@fritx Upgrade |
Thanks. It works for me now. @jaywcjlove |
Hi, I'm trying with the cli but seems the bin command is not specified:
If I try to modify this line (adding
.js
extension), and npm link in the cloned repo, it works:Btw, the entire lib directory is not published since 1.0.1
https://unpkg.com/browse/[email protected]/
https://unpkg.com/browse/[email protected]/
What node package manager are you using?
I've tried both npm and pnpm and got the problem above
The text was updated successfully, but these errors were encountered: