Skip to content

Commit

Permalink
feat: truncate hash to 6 digits in table view (#25)
Browse files Browse the repository at this point in the history
* feat: truncate hash to 6 digits in table view

* ci: fix binary size limit on wasmcloud example
  • Loading branch information
nilslice authored Mar 15, 2023
1 parent bf150a7 commit 792d5ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/src/cmd/api_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl Display for ApiResults<'_> {
self.results.iter().for_each(|m| {
table.add_row(Row::from(vec![
m.module_id.to_string(),
m.hash.clone(),
m.hash[0..6].to_string(),
m.file_name.clone(),
m.exports.to_string(),
m.imports.to_string(),
Expand Down
2 changes: 1 addition & 1 deletion vendors/wasmcloud/mod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ validate:
- I32
max: 2
size:
max: 1.9 MiB
max: 10 MiB
complexity:
max_risk: medium

0 comments on commit 792d5ca

Please sign in to comment.