diff options
Diffstat (limited to 'crates/shirabe/src/factory.rs')
| -rw-r--r-- | crates/shirabe/src/factory.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/shirabe/src/factory.rs b/crates/shirabe/src/factory.rs index afdedd81..6889a20d 100644 --- a/crates/shirabe/src/factory.rs +++ b/crates/shirabe/src/factory.rs @@ -766,7 +766,11 @@ impl Factory { Some(io.clone()), )?, im, - &file_get_contents(composer_file_path).unwrap_or_default(), + // TODO(bytes): Locker takes the composer.json contents as a &str + // to hash them. + &String::from_utf8_lossy( + &file_get_contents(composer_file_path).unwrap_or_default(), + ), process, ); composer_full |
