mirror of
https://github.com/nushell/nushell.git
synced 2025-01-28 00:58:53 +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> {
|
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)
|
retrieve_tables(input_html.as_str(), &selector.as_table, selector.inspect)
|
||||||
} else {
|
} else {
|
||||||
match selector.attribute.is_empty() {
|
match selector.attribute.is_empty() {
|
||||||
|
Loading…
Reference in New Issue
Block a user