We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8514254 + fc0e6d3 commit 679f976Copy full SHA for 679f976
src/main.rs
@@ -35,7 +35,7 @@ fn create(project_info: &ProjectInfo) -> Result<()> {
35
}
36
37
fn print_error(err: Error) {
38
- println!("\n{}", err.to_string().red());
+ eprintln!("\n{}", err.to_string().red());
39
40
41
fn delete_slug(project_info: &ProjectInfo) -> Result<()> {
@@ -244,7 +244,7 @@ fn main() {
244
Param::Reset => {
245
if Config::reset().is_err() {
246
let message = "Error resetting config.";
247
- println!("{}", message.red());
+ eprintln!("{}", message.red());
248
exit(1);
249
250
0 commit comments