Skip to content

Commit

Permalink
Space out errors and warnings for readability (#961)
Browse files Browse the repository at this point in the history
* Space out errors and warnings for readability

* reset lockfile
  • Loading branch information
sezna authored Mar 19, 2022
1 parent 3f93eba commit 3dda3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forc-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ fn format_err(err: &sway_core::CompileError) {
..Default::default()
},
};
eprintln!("{}", DisplayList::from(snippet))
eprintln!("{}\n____\n", DisplayList::from(snippet))
}

fn format_warning(err: &sway_core::CompileWarning) {
Expand Down Expand Up @@ -301,7 +301,7 @@ fn format_warning(err: &sway_core::CompileWarning) {
..Default::default()
},
};
eprintln!("{}", DisplayList::from(snippet))
eprintln!("{}\n____\n", DisplayList::from(snippet))
}

/// Given a start and an end position and an input, determine how much of a window to show in the
Expand Down

0 comments on commit 3dda3d2

Please sign in to comment.