-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Include more reservedPaths. Fixes #1 #2
Conversation
Oh LOL |
index.js
Outdated
'organizations', | ||
'notifications', | ||
]; | ||
const reservedPaths = require('github-reserved-names').all; |
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.
require
should be at the top to make it easier to switch to import
in the future.
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.
Ok
Looking good! Do you mind requiring the JSON directly? It saves a require trip |
Do you mean like this? const reservedPaths = require("./node_modules/github-reserved-names/reserved-names.json"); |
|
LOL cool... so many ways to do the same thing ;) |
This reverts commit 086aaa7.
LOL just as you merge, I found another reserved name... I'll publish it in a minute. |
If it matches |
I ran
npm test
and found these messages which I did not tackle in this PR: