Skip to content

Commit

Permalink
💬 Formated output text as warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikrk committed Mar 1, 2024
1 parent b05d1c4 commit fe3a5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/client/src/test_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl TestGenerator {
let lib_path = construct_path!(self.root, PROGRAM_CLIENT_DIRECTORY, SRC_DIRECTORY, LIB);
if lib_path.exists() {
let code = fs::read_to_string(lib_path).await.unwrap_or_else(|_e| {
println!("Unable to read .program_client, use statements set to default.");
println!("\x1b[1;93mWarning\x1b[0m: Unable to read .program_client, use statements set to default.");
String::default()
});
Commander::get_use_statements(&code, &mut self.use_tokens)?;
Expand Down

0 comments on commit fe3a5d9

Please sign in to comment.