set the tx channel to nil
Some checks failed
Build and push / build (push) Has been cancelled
Release / Release Go Binary (amd64, darwin) (push) Has been cancelled
Release / Release Go Binary (amd64, linux) (push) Has been cancelled
Release / Release Go Binary (amd64, windows) (push) Has been cancelled
Release / Release Go Binary (arm64, darwin) (push) Has been cancelled
Release / Release Go Binary (arm64, linux) (push) Has been cancelled

This commit is contained in:
Jim Clark
2023-05-02 17:05:53 -07:00
committed by James Carnegie
parent 11a7d10ea7
commit ce5b1520f8
2 changed files with 4 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ func generate_sbom(message *babashka.Message, image string, username string, pas
babashka.WriteErrorResponse(message, err)
}
} else {
tx_channel = nil
break
}
}
@@ -135,7 +136,7 @@ func ProcessMessage(message *babashka.Message) (any, error) {
:error (fn [{:keys [:ex-message :ex-data]}]
(binding [*out* *err*]
(println "ERROR:" ex-message)))
:done (fn [] (println "Done callback"))}})))`,
:done (fn [] (cb "done"))}})))`,
},
{
Name: "hashes",

View File

@@ -24,14 +24,14 @@
in
{
devShells.default = pkgs.devshell.mkShell {
packages = with pkgs; [ go gotools golangci-lint gopls gopkgs go-outline gomod2nix.packages.${system}.default ];
packages = with pkgs; [ go gotools golangci-lint gopls gopkgs go-outline gomod2nix.packages.${system}.default clojure clojure-lsp temurin-bin neovim];
commands = [
{
name = "update-gomod2nix";
help = "update gomod2nix.toml";
command = "gomod2nix";
}
];
];
};
packages = rec {
default = pkgs.buildGoApplication {