Skip to content

Commit

Permalink
Remove unneeded check for empty paths
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Sep 10, 2024
1 parent 8073635 commit 850cb44
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/action/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ func (fa *FrizbeeAction) Run(ctx context.Context) error {
// parseWorkflowActions parses the GitHub Actions workflow files
func (fa *FrizbeeAction) parseWorkflowActions(ctx context.Context, out *replacer.ReplaceResult) error {
for _, path := range fa.ActionsPaths {
if path == "" {
log.Printf("Workflow path is empty")
return nil
}

log.Printf("Parsing workflow files in %s...", path)
res, err := fa.ActionsReplacer.ParsePathInFS(ctx, fa.BFS, path)
if err != nil {
Expand Down

0 comments on commit 850cb44

Please sign in to comment.