mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 00:19:39 +01:00
parent
f0a073b397
commit
e810995cf8
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -10,4 +10,4 @@ jobs:
|
||||
uses: actions/checkout@v4.1.2
|
||||
|
||||
- name: Check spelling
|
||||
uses: crate-ci/typos@v1.19.0
|
||||
uses: crate-ci/typos@v1.20.3
|
||||
|
@ -22,7 +22,7 @@ impl Command for LazyJoin {
|
||||
.required("right_on", SyntaxShape::Any, "Right column(s) to join on")
|
||||
.switch(
|
||||
"inner",
|
||||
"inner joing between lazyframes (default)",
|
||||
"inner join between lazyframes (default)",
|
||||
Some('i'),
|
||||
)
|
||||
.switch("left", "left join between lazyframes", Some('l'))
|
||||
|
@ -128,7 +128,7 @@ impl Command for InputList {
|
||||
// ..Default::default()
|
||||
// };
|
||||
|
||||
let ans: InteractMode = if multi {
|
||||
let answer: InteractMode = if multi {
|
||||
let multi_select = MultiSelect::new(); //::with_theme(&theme);
|
||||
|
||||
InteractMode::Multi(
|
||||
@ -179,7 +179,7 @@ impl Command for InputList {
|
||||
)
|
||||
};
|
||||
|
||||
Ok(match ans {
|
||||
Ok(match answer {
|
||||
InteractMode::Multi(res) => {
|
||||
if index {
|
||||
match res {
|
||||
|
@ -66,7 +66,7 @@ fn main() {
|
||||
println!("first: {}", array.first().unwrap());
|
||||
|
||||
// Add a value
|
||||
array.push(Value::String("tak".to_string()));
|
||||
array.push(Value::String("baz".to_string()));
|
||||
}
|
||||
|
||||
// Encode to Hjson
|
||||
@ -76,4 +76,4 @@ fn main() {
|
||||
```
|
||||
# DOCS
|
||||
|
||||
At the moment, the documentation on [serde_hjson](https://docs.rs/serde-hjson/0.9.1/serde_hjson/) / [serde_json](https://docs.rs/serde_json/1.0.93/serde_json/) is also relevant for nu-json.
|
||||
At the moment, the documentation on [serde_hjson](https://docs.rs/serde-hjson/0.9.1/serde_hjson/) / [serde_json](https://docs.rs/serde_json/1.0.93/serde_json/) is also relevant for nu-json.
|
||||
|
@ -473,7 +473,7 @@ pub enum ShellError {
|
||||
span: Span,
|
||||
},
|
||||
|
||||
/// An error happened while tryin to create a range.
|
||||
/// An error happened while trying to create a range.
|
||||
///
|
||||
/// This can happen in various unexpected situations, for example if the range would loop forever (as would be the case with a 0-increment).
|
||||
///
|
||||
|
@ -335,7 +335,7 @@ fn const_captures_in_closures_work() {
|
||||
assert_eq!(actual.out, "hello world");
|
||||
}
|
||||
|
||||
#[ignore = "TODO: Need to fix `overlay hide` to hide the constants brough by `overlay use`"]
|
||||
#[ignore = "TODO: Need to fix `overlay hide` to hide the constants brought by `overlay use`"]
|
||||
#[test]
|
||||
fn complex_const_overlay_use_hide() {
|
||||
let inp = &[MODULE_SETUP, "overlay use spam", "$X"];
|
||||
|
@ -1,10 +1,12 @@
|
||||
[files]
|
||||
extend-exclude = ["crates/nu-command/tests/commands/table.rs", "*.tsv", "*.json", "*.txt"]
|
||||
extend-exclude = ["crates/nu-command/tests/commands/table.rs", "*.tsv", "*.json", "*.txt", "tests/fixtures/formats/*"]
|
||||
|
||||
[default.extend-words]
|
||||
# Ignore false-positives
|
||||
nd = "nd"
|
||||
pn = "pn"
|
||||
fo = "fo"
|
||||
ful = "ful"
|
||||
ons = "ons"
|
||||
ba = "ba"
|
||||
Plasticos = "Plasticos"
|
||||
|
Loading…
Reference in New Issue
Block a user