🔇 remove stray logging
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
542e4924a2
commit
dd257abbbe
@ -38,7 +38,7 @@ var cfgFile string
|
|||||||
|
|
||||||
// rootCmd represents the base command when called without any subcommands
|
// rootCmd represents the base command when called without any subcommands
|
||||||
var rootCmd = &cobra.Command{
|
var rootCmd = &cobra.Command{
|
||||||
Version: "0.2.0",
|
Version: "0.2.1",
|
||||||
Use: "workon [project]",
|
Use: "workon [project]",
|
||||||
Short: "Manage tmux sessions",
|
Short: "Manage tmux sessions",
|
||||||
Long: "",
|
Long: "",
|
||||||
|
12
flake.lock
generated
12
flake.lock
generated
@ -18,11 +18,11 @@
|
|||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659877975,
|
"lastModified": 1667395993,
|
||||||
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -33,11 +33,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1666867875,
|
"lastModified": 1667389534,
|
||||||
"narHash": "sha256-3nD7iQXd/J6KjkT8IjozTuA5p8qjiLKTxvOUmH+AzNM=",
|
"narHash": "sha256-qyfI/QzKZiYA8/uNSCGLT9/jeB7d8Yq86ynH2KO0cF8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c132d0837dfb9035701dcd8fc91786c605c855c3",
|
"rev": "3390a2b135554ea7ff3b6f26c006c3729a41df3b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
{
|
{
|
||||||
packages.workon = pkgs.buildGoModule {
|
packages.workon = pkgs.buildGoModule {
|
||||||
pname = "workon";
|
pname = "workon";
|
||||||
version = "0.2.0";
|
version = "0.2.1";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorSha256 = "sha256-ia0Z9yz2LrRAd9huncFtl/a6R3/gRpqbg6TdnauvEmQ=";
|
vendorSha256 = "sha256-ia0Z9yz2LrRAd9huncFtl/a6R3/gRpqbg6TdnauvEmQ=";
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
@ -60,7 +60,6 @@ func (t *Tmux) ListSessions() ([]string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lines := strings.Trim(string(result), "\n")
|
lines := strings.Trim(string(result), "\n")
|
||||||
fmt.Println("Sessions", lines)
|
|
||||||
return strings.Split(lines, "\n"), nil
|
return strings.Split(lines, "\n"), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user