diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb3b7b1..b50cf0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: - tags: '*' + tags: ['*'] env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aec6148..05e0e9c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -4,7 +4,7 @@ on: push: branches: [ main ] pull_request: - branches: '*' + branches: ['*'] env: CARGO_TERM_COLOR: always diff --git a/Cargo.toml b/Cargo.toml index fe04db8..6105b28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtasktic" -version = "0.5.0" +version = "0.5.1" authors = ["Jones Magloire @Joxit"] description = "Command-line task management tool for execution of regular long sequential or parallel tasks." edition = "2018" @@ -17,7 +17,7 @@ structopt = "^0.3" yaml-rust = "^0.4" linked-hash-map = "^0.5" libc = "^0.2" -attohttpc = "^0.17" +attohttpc = "^0.26" openssl = { version = "^0.10", features = ["vendored"] } json = "^0.12" hostname = "^0.3" diff --git a/src/fst/dot.rs b/src/fst/dot.rs index 10cef16..ad6eabb 100644 --- a/src/fst/dot.rs +++ b/src/fst/dot.rs @@ -11,7 +11,7 @@ pub fn dot_write_file(fst: &TaskFst, writer: &mut W) -> std::io::Resul let node = iter.next().unwrap(); let label = node.label.replace("\"", "\\\""); let id = format_id(&node.label); - let shape = if node.prev.len() == 0 { + let shape = if node.next.len() == 0 { "doublecircle" } else { "circle" @@ -83,16 +83,16 @@ mod test { assert_eq!( result, r#"digraph { - a[label="\"a\"" shape=doublecircle] + a[label="\"a\"" shape=circle] a -> b_a_ba a -> c - e[label="e" shape=doublecircle] + e[label="e" shape=circle] e -> ds b_a_ba[label="b a ba" shape=circle] b_a_ba -> c c[label="c" shape=circle] c -> ds - ds[label="d%s" shape=circle] + ds[label="d%s" shape=doublecircle] } "# );