Skip to content

Commit 231eb88

Browse files
fix: fix error when running outside of git repository
1 parent 8630d93 commit 231eb88

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/run_environment/local/provider.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ impl RunEnvironmentProvider for LocalProvider {
300300
})
301301
}
302302

303+
fn get_commit_hash(&self, _repository_root_path: &str) -> Result<String> {
304+
Ok(self.ref_.clone())
305+
}
306+
303307
/// Local runs don't need run-index because each invocation gets a fresh `run_id`.
304308
fn build_run_part_suffix(
305309
&self,

0 commit comments

Comments
 (0)