fix the name of 'do' (#2152)

* fix the name of 'do'

* try to fix ci
This commit is contained in:
Jonathan Turner 2020-07-10 22:09:05 -07:00 committed by GitHub
parent 0bc2e29f99
commit 3ec0242960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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')

View file

@ -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",