Skip to content

Commit

Permalink
Show script name at error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Aug 22, 2024
1 parent 977698f commit 7f57481
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/error_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use crate::ShellCore;

pub fn print(s: &str, core: &mut ShellCore, show_sush: bool) {
let name = core.data.get_param("0");

match (core.read_stdin, show_sush) {
(true, _) => {
let lineno = core.data.get_param("LINENO");
Expand Down

0 comments on commit 7f57481

Please sign in to comment.