From 3ec0242960c06f8d1bf7e89db79642a5226d260c Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Fri, 10 Jul 2020 22:09:05 -0700 Subject: [PATCH] fix the name of 'do' (#2152) * fix the name of 'do' * try to fix ci --- .azure/azure-pipelines.yml | 8 ++++---- crates/nu-cli/src/commands/do_.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index dc1b283200..06f5dbdaa2 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -41,10 +41,10 @@ steps: rustup component add clippy --toolchain stable-x86_64-apple-darwin export PATH=$HOME/.cargo/bin:$PATH fi - rustup update - rustc -Vv - echo "##vso[task.prependpath]$HOME/.cargo/bin" - rustup component add rustfmt + # rustup update + # rustc -Vv + # echo "##vso[task.prependpath]$HOME/.cargo/bin" + # rustup component add rustfmt displayName: Install Rust - bash: RUSTFLAGS="-D warnings" cargo test --all --features stable condition: eq(variables['style'], 'unflagged') diff --git a/crates/nu-cli/src/commands/do_.rs b/crates/nu-cli/src/commands/do_.rs index fa4519ef30..e6a9754f55 100644 --- a/crates/nu-cli/src/commands/do_.rs +++ b/crates/nu-cli/src/commands/do_.rs @@ -19,7 +19,7 @@ impl WholeStreamCommand for Do { } fn signature(&self) -> Signature { - Signature::build("with-env") + Signature::build("do") .required("block", SyntaxShape::Block, "the block to run ") .switch( "ignore_errors",