Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ pub fn lookup_full_version(input: &str, board: &str) -> Result<String> {
board, key
))
.context(
"gcloud storage command failed (maybe you need depot_tools and/or `gcloud init` with \
'chromeos-swarming' project)",
"gcloud storage command failed (maybe you need depot_tools and/or `gcloud init` \
with 'chromeos-swarming' project)",
)?;
let output = re_cros_version
.captures(output.trim())
Expand Down
4 changes: 2 additions & 2 deletions src/google_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pub fn list_gs_files(pattern: &str) -> Result<String> {
let cmd = format!("gcloud storage ls {}", pattern.trim());
println!("{:?}", cmd);
let output = Command::new("bash").arg("-c").arg(cmd).output().context(
"Failed to execute gcloud storage ls (maybe you need depot_tools and/or `gcloud auth login` with \
'chromeos-swarming' project)",
"Failed to execute gcloud storage ls (maybe you need depot_tools and/or `gcloud auth \
login` with 'chromeos-swarming' project)",
)?;
Ok(String::from_utf8_lossy(&output.stdout)
.to_string()
Expand Down
Loading