Skip to content

Commit 0c2b81d

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
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)