mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
parent
0bc2e29f99
commit
3ec0242960
2 changed files with 5 additions and 5 deletions
|
@ -41,10 +41,10 @@ steps:
|
||||||
rustup component add clippy --toolchain stable-x86_64-apple-darwin
|
rustup component add clippy --toolchain stable-x86_64-apple-darwin
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
fi
|
fi
|
||||||
rustup update
|
# rustup update
|
||||||
rustc -Vv
|
# rustc -Vv
|
||||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
# echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||||
rustup component add rustfmt
|
# rustup component add rustfmt
|
||||||
displayName: Install Rust
|
displayName: Install Rust
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
- bash: RUSTFLAGS="-D warnings" cargo test --all --features stable
|
||||||
condition: eq(variables['style'], 'unflagged')
|
condition: eq(variables['style'], 'unflagged')
|
||||||
|
|
|
@ -19,7 +19,7 @@ impl WholeStreamCommand for Do {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn signature(&self) -> Signature {
|
fn signature(&self) -> Signature {
|
||||||
Signature::build("with-env")
|
Signature::build("do")
|
||||||
.required("block", SyntaxShape::Block, "the block to run ")
|
.required("block", SyntaxShape::Block, "the block to run ")
|
||||||
.switch(
|
.switch(
|
||||||
"ignore_errors",
|
"ignore_errors",
|
||||||
|
|
Loading…
Reference in a new issue