-
Notifications
You must be signed in to change notification settings - Fork 30k
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
doc: replace bash references with sh #34869
Conversation
not sure why |
We chose |
doc/api/fs.md
Outdated
@@ -3732,7 +3732,7 @@ fs.symlink('./mew', './example/mewtwo', callback); | |||
The above example creates a symbolic link `mewtwo` in the `example` which points | |||
to `mew` in the same directory: | |||
|
|||
```bash | |||
```sh |
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.
```sh | |
```console |
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.
i don't understand this request. isn't console
for js code?
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.
console
means a CLI, it usually shows a $
, then a command, and below the standard output it produces. I don't think it's ever used for JS code – you would rather use javascript
or js
for JS code.
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, i see. i updated the code. thanks for pointing that out @DerekNonGeneric 😄
@DerekNonGeneric i've never used
what would you like to see elaborated? |
It's not |
as was pointed out in the other PR, the syntax highlighting remains the same. using implementation-agnostic references is more correct, both technically (as node itself is officially POSIX compliant) and semantically (as |
Yes, but we don't want to make mistakes or repeat this over and over. |
of course :) i amended OP to fix the mistake. thanks for pointing it out. |
IMHO |
The problem here is that we don't want other contributors to make this mistake and it will cause errors later as well. Should we change it? What do we do? I'm just as at a loss here. This has a lot to do with having made choices already. @aduh95, I think you know what is going on more than I do, but things are getting difficult to follow. |
i'm a bit unclear myself — what is the exact issue? from what i gather it seems to be "a |
@zackschuster, this is just going to fail. |
@DerekNonGeneric i was going to mention the PR in the other repo, but it seems you've already commented there. |
@zackschuster do you still want to do that? Asking because I still have the PR open on the other repo, and I was wondering if I should close it or request a merge. |
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
@aduh95 yes please. i'll rebase once the other PR is merged 😄 |
Closing, as nodejs/remark-preset-lint-node#136 didn't get merged. |
sh
means the POSIX interface, and could bebash
,zsh
, etc. — even just plain oldsh
.refs: #34837
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes