Attempt rustup update on each PR (#1345)

* Attempt update on each PR

* Update fmt
This commit is contained in:
Jonathan Turner 2020-02-05 19:28:49 -08:00 committed by GitHub
parent fa910b95b7
commit ba1b67c072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View File

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

View File

@ -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(_)),
.. ..
} => { } => {

View File

@ -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()) {

View File

@ -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()) {