-
Notifications
You must be signed in to change notification settings - Fork 153
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
chore: documentation and CI updates #183
Conversation
Pull Request Test Coverage Report for Build 817490292
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@mcollina, mind if i open similar requests on other pino repos? |
go for it! |
"ci": "standard && tap \"test/**/*.test.js\" --coverage-report=lcovonly", | ||
"lint": "standard | snazzy", | ||
"test": "tap --100 'test/**/*.test.js'" | ||
"test": "tap --100 \"test/**/*.test.js\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes should not have been made. The "
will introduce shell expansion of **/*.test.js
. The '
prevents shell expansion and allows the glob
package to do the expansion.
@Fdawgs please do not blanket change quotes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry @jsumners. Is there a better way of doing this?
The Fastify repos all use a similar method to ensure the tests run on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They should all be using single quotes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After further investigation, I don't think it matters if single or double quotes are used when it's just globbing (phew, no mass opening of PRs on all of Fastify's repos):
$ cd test
$ echo *
decorate.test.js hook.test.js integration.test.js plugin.test-d.ts
$ echo "*"
*
$ echo '*'
*
No description provided.