Skip to content

Commit dbb0ba2

Browse files
committed
fix parsing of node names with dots
Extend ast handling for nodename with dots, see #307
1 parent f0ad724 commit dbb0ba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ pub fn parse_flake(flake: &str) -> Result<DeployFlake, ParseFlakeError> {
231231

232232
Some(c.into_token().unwrap().text().to_string())
233233
}
234+
(NODE_SELECT, _) => Some(entry.into_node().unwrap().text().to_string()),
234235
_ => return Err(ParseFlakeError::Unrecognized),
235236
};
236237

0 commit comments

Comments
 (0)