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

style: spelling and grammar fixes #3225

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ of what is set in `.tool-versions`/`.mise.toml`.

### `MISE_USE_TOML=1`

Set to `0` to default to using `.tool-verisons` in `mise local` instead of `mise.toml` for
Set to `0` to default to using `.tool-versions` in `mise local` instead of `mise.toml` for
configuration.

This is not used by `mise use` which will only use `mise.toml` unless `--path` is specified.
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-tools/backends/cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The version will be set in `~/.config/mise/config.toml` with the following forma

### Using Git

You can install a any package from a Git repository using the `mise` command. This allows you to
You can install any package from a Git repository using the `mise` command. This allows you to
install a particular tag, branch, or commit revision:

```sh
Expand Down
4 changes: 2 additions & 2 deletions docs/mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ cmd "config" help="[experimental] Manage config files" {
"
flag "--no-header" help="Do not print table header"
}
cmd "generate" help="[experimental] Generate an .mise.toml file" {
cmd "generate" help="[experimental] Generate a .mise.toml file" {
alias "g"
after_long_help r"Examples:

Expand Down Expand Up @@ -1164,7 +1164,7 @@ cmd "use" help="Install tool version and add it to config" {
long_help r"Install tool version and add it to config

This will install the tool if it is not already installed.
By default, this will use an `.mise.toml` file in the current directory.
By default, this will use a `.mise.toml` file in the current directory.
Use the --global flag to use the global config file instead.
This replaces asdf's `local` and `global` commands, however those are still available in mise."
after_long_help r"Examples:
Expand Down
2 changes: 1 addition & 1 deletion docs/tasks/toml-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ run = 'cargo test'
dir = "{{cwd}}"
```

Also, `MISE_ORIGNAL_CWD` is set to the original working directory and will be passed to the task.
Also, `MISE_ORIGINAL_CWD` is set to the original working directory and will be passed to the task.

## Arguments

Expand Down
2 changes: 1 addition & 1 deletion docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Mise offers additional functions:
of `alphabet`. For example, `choice(64, HEX)` will generate a random
64-character lowercase hex string.

A example of function using `exec`:
An example of function using `exec`:

```toml
[alias.node.versions]
Expand Down
2 changes: 1 addition & 1 deletion e2e/backend/test_cargo_binstall_token
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

unset GITHUB_TOKEN GITHUB_API_TOKEN

# Create an cargo-binstall stub that just output the value of GITHUB_TOKEN
# Create a cargo-binstall stub that just outputs the value of GITHUB_TOKEN
cat >~/bin/cargo-binstall <<'EOF'
#!/usr/bin/env bash
echo "token=$GITHUB_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion schema/mise.json
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
}
},
"task_config": {
"description": "configration for task execution/management",
"description": "configuration for task execution/management",
"type": "object",
"additionalProperties": false,
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion settings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ deprecated = "Use disable_backends instead."
description = "Use vfox as a default plugin backend instead of asdf."
docs = """
Use vfox as a default plugin backend. This means running something like `mise use cmake` will
default to using an vfox plugin for cmake.
default to using a vfox plugin for cmake.
"""

[windows_default_file_shell_args]
Expand Down
2 changes: 1 addition & 1 deletion src/toolset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ pub fn is_outdated_version(current: &str, latest: &str) -> bool {
}

/// check if the new version is a bump from the old version and return the new version
/// at the same specifity level as the old version
/// at the same specificity level as the old version
/// used with `mise outdated --bump` to determine what new semver range to use
/// given old: "20" and new: "21.2.3", return Some("21")
fn check_semver_bump(old: &str, new: &str) -> Option<String> {
Expand Down
Loading