Skip to content
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

feat(tags): add relative paths base tag #209

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tags/tags.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1187,3 +1187,11 @@ Discord does not provide the invite that a member used to join through the bot A
- Tracking the uses of invites through the `inviteCreate` and `guildMemberAdd` events is unreliable and we recommend against it.
- Discord has not shared any plans to make the members tab available for bots.
"""

[relative-paths-base]
keywords = ["require", "node-fs", "relative-paths", "base-path"]
content = """
Relative paths base:
- [`require`](https://nodejs.org/api/modules.html#requireid) resolves relative paths based on the file's location.
- [`fs`](https://nodejs.org/api/fs.html) methods (e.g. [`fs.readFile`](https://nodejs.org/api/fs.html#fspromisesreadfilepath-options)) resolve paths based on the current working directory.
"""
Loading