forked from extern/nushell
Attempt rustup update
on each PR (#1345)
* Attempt update on each PR * Update fmt
This commit is contained in:
parent
fa910b95b7
commit
ba1b67c072
@ -38,8 +38,8 @@ steps:
|
|||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
rustup update
|
|
||||||
fi
|
fi
|
||||||
|
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
|
||||||
|
@ -37,7 +37,9 @@ impl Plugin for Inc {
|
|||||||
if let Some(args) = call_info.args.positional {
|
if let Some(args) = call_info.args.positional {
|
||||||
for arg in args {
|
for arg in args {
|
||||||
match arg {
|
match arg {
|
||||||
table @ Value {
|
table
|
||||||
|
@
|
||||||
|
Value {
|
||||||
value: UntaggedValue::Primitive(Primitive::ColumnPath(_)),
|
value: UntaggedValue::Primitive(Primitive::ColumnPath(_)),
|
||||||
..
|
..
|
||||||
} => {
|
} => {
|
||||||
|
@ -42,7 +42,9 @@ impl PerItemCommand for Edit {
|
|||||||
let replacement = call_info.args.expect_nth(1)?.tagged_unknown();
|
let replacement = call_info.args.expect_nth(1)?.tagged_unknown();
|
||||||
|
|
||||||
let stream = match value {
|
let stream = match value {
|
||||||
obj @ Value {
|
obj
|
||||||
|
@
|
||||||
|
Value {
|
||||||
value: UntaggedValue::Row(_),
|
value: UntaggedValue::Row(_),
|
||||||
..
|
..
|
||||||
} => match obj.replace_data_at_column_path(&field, replacement.item.clone()) {
|
} => match obj.replace_data_at_column_path(&field, replacement.item.clone()) {
|
||||||
|
@ -42,7 +42,9 @@ impl PerItemCommand for Insert {
|
|||||||
let replacement = call_info.args.expect_nth(1)?.tagged_unknown();
|
let replacement = call_info.args.expect_nth(1)?.tagged_unknown();
|
||||||
|
|
||||||
let stream = match value {
|
let stream = match value {
|
||||||
obj @ Value {
|
obj
|
||||||
|
@
|
||||||
|
Value {
|
||||||
value: UntaggedValue::Row(_),
|
value: UntaggedValue::Row(_),
|
||||||
..
|
..
|
||||||
} => match obj.insert_data_at_column_path(&field, replacement.item.clone()) {
|
} => match obj.insert_data_at_column_path(&field, replacement.item.clone()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user