mirror of
https://github.com/nushell/nushell.git
synced 2025-01-13 17:58:36 +01:00
fix regression (#4086)
This commit is contained in:
parent
a986de8ad0
commit
07e05ef183
@ -35,7 +35,7 @@ impl Default for Selector {
|
||||
}
|
||||
|
||||
pub fn begin_selector_query(input_html: String, selector: &Selector) -> Vec<Value> {
|
||||
if selector.as_table.is_some() {
|
||||
if !selector.as_table.value.is_string() {
|
||||
retrieve_tables(input_html.as_str(), &selector.as_table, selector.inspect)
|
||||
} else {
|
||||
match selector.attribute.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user