Skip to content

Commit 114e011

Browse files
authored
refactor: remove unused .slackignore support and dependencies πŸ’€ (#309)
refactor: remove unused .slackignore support and dependencies
1 parent bcfb783 commit 114e011

4 files changed

Lines changed: 0 additions & 52 deletions

File tree

β€Žcmd/root.goβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import (
4242
"github.com/slackapi/slack-cli/cmd/upgrade"
4343
versioncmd "github.com/slackapi/slack-cli/cmd/version"
4444
"github.com/slackapi/slack-cli/internal/cmdutil"
45-
"github.com/slackapi/slack-cli/internal/config"
4645
"github.com/slackapi/slack-cli/internal/iostreams"
4746
"github.com/slackapi/slack-cli/internal/pkg/version"
4847
"github.com/slackapi/slack-cli/internal/shared"
@@ -316,9 +315,6 @@ func InitConfig(ctx context.Context, clients *shared.ClientFactory, rootCmd *cob
316315
clients.Config.RuntimeVersion = clients.Runtime.Version()
317316
}
318317

319-
// Initialize .slackignore contents
320-
config.InitSlackIgnore()
321-
322318
// Init debug log file with CLI Version, OS, SessionID, TraceID, SystemID, ProjectID, etc
323319
return clients.IO.InitLogFile(ctx)
324320
}

β€Žgo.modβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ require (
1818
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
1919
github.com/pkg/errors v0.9.1
2020
github.com/radovskyb/watcher v1.0.7
21-
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
2221
github.com/spf13/afero v1.15.0
2322
github.com/spf13/cobra v1.10.2
2423
github.com/stretchr/testify v1.11.1

β€Žgo.sumβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ github.com/radovskyb/watcher v1.0.7/go.mod h1:78okwvY5wPdzcb1UYnip1pvrZNIVEIh/Cm
128128
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
129129
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
130130
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
131-
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
132-
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
133131
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
134132
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
135133
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=

β€Žinternal/config/slackignore.goβ€Ž

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
Β (0)