Skip to content

Commit

Permalink
fix shell conditional and clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Aug 23, 2023
1 parent 1383642 commit a48fe7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ GEN_TS = $(patsubst api/v0/%.proto,$(GEN_TS_PATTERN),$(PROTOS))
BUF_VERSION = $(shell buf --version)

$(GEN_TS_PATTERN) $(GEN_RS_PATTERN) $(GEN_SERDE_RS_PATTERN) $(GEN_TONIC_RS_PATTERN): $(PROTOS)
@if [[ "${BUF_VERSION}" != "1.25.0" ]]; then echo "Warning: buf 1.25.0 is not installed! Please install v1.25.0 of the 'buf' command line tool: https://docs.buf.build/installation"; exit 1; fi;
@if [ "${BUF_VERSION}" != "1.25.0" ]; then echo "Warning: buf 1.25.0 is not installed! Please install v1.25.0 of the 'buf' command line tool: https://docs.buf.build/installation"; exit 1; fi;
buf lint api
buf generate -v api

Expand Down
2 changes: 1 addition & 1 deletion client/src/config/x509_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ pub(crate) fn new_x509_details(
issuer_common_name,
sha256_fingerprint: format!("{sha256_fingerprint:?}"),
key_algorithm,
phantom_data: PhantomData::default(),
phantom_data: PhantomData,
})
}

0 comments on commit a48fe7e

Please sign in to comment.