Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
ryuichiueda committed Jan 12, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5144ebf commit e799d67
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/elements/word.rs
Original file line number Diff line number Diff line change
@@ -52,11 +52,6 @@ impl Word {
for w in brace_expansion::eval(&mut self.clone()) {
let expanded = w.tilde_and_dollar_expansion(core)?;
ws.append( &mut expanded.split_and_path_expansion() );
/*
match w.tilde_and_dollar_expansion(core) {
Some(w) => ws.append( &mut w.split_and_path_expansion() ),
None => return None,
};*/
}
Self::make_args(&mut ws)
}
@@ -66,11 +61,6 @@ impl Word {
tilde_expansion::eval(&mut w, core);
substitution::eval(&mut w, core)?;
Ok(w)
/*
match substitution::eval(&mut w, core) {
true => Some(w),
false => None,
}*/
}

pub fn split_and_path_expansion(&self) -> Vec<Word> {

0 comments on commit e799d67

Please sign in to comment.