Skip to content

joyent/prr#7 "make check" should work#26

Open
timfoster wants to merge 6 commits intomasterfrom
make-check
Open

joyent/prr#7 "make check" should work#26
timfoster wants to merge 6 commits intomasterfrom
make-check

Conversation

@timfoster
Copy link
Contributor

No description provided.

@timfoster timfoster requested a review from jlevon November 15, 2019 12:04
@timfoster
Copy link
Contributor Author

(review on this is not at all urgent)

"plugin:joyent/lint"
],
"parserOptions": {
"ecmaVersion": 5,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslintrc has ecmaVersion == 6, why the difference? In fact, why the duplication?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think with .eslintrc, that's all we need. I wonder if eslint.node.conf predated RFD 100's advice for .eslintrc, either way, removing it now.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bahamat any thoughts on this 👆 ?

Copy link

@danmcd danmcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pass-0 nits.

"plugin:joyent/lint"
],
"parserOptions": {
"ecmaVersion": 5,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bahamat any thoughts on this 👆 ?

*/
function linkify(link, text) {
return ('\x1B]8;;' + link + '\x1B\\' + text + '\x1B]8;;\x1B\\');
return '\x1B]8;;' + link + '\x1B\\' + text + '\x1B]8;;\x1B\\';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My JS-ignorance is showing, why lose the parens?

cb(new VError('failed to get URL of remote "origin": '
+ err.message));
var cfgPath = expandTilde(repoPath + '/.git/config');
fs.exists(cfgPath, function(exists) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a suggestion. You may want to use fs.access since fs.exists has been deprecated and at some point might start emitting a deprecation warning when invoked. Though it's been deprecated since Node v1.0.0 and still is a documentation-only deprecation so it's not going to cause any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants