[PR #2301] [CLOSED] chore: use errors.New to replace fmt.Errorf with no parameters will much better #2380

Closed
opened 2026-03-01 21:55:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/2301
Author: @ChengenH
Created: 4/21/2024
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 09183e4 chore: use errors.New to replace fmt.Errorf with no parameters will much better

📊 Changes

11 files changed (+25 additions, -21 deletions)

View changed files

📝 pkg/artifactcache/handler.go (+1 -1)
📝 pkg/common/git/git.go (+1 -1)
📝 pkg/container/docker_cli.go (+4 -4)
📝 pkg/container/docker_run.go (+1 -1)
📝 pkg/container/host_environment.go (+1 -1)
📝 pkg/exprparser/interpreter.go (+2 -1)
📝 pkg/filecollector/file_collector.go (+2 -1)
📝 pkg/model/planner.go (+2 -1)
📝 pkg/runner/action.go (+2 -2)
📝 pkg/runner/action_composite.go (+2 -1)
📝 pkg/runner/run_context.go (+7 -7)

📄 Description

use errors.New to replace fmt.Errorf with no parameters will much better


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/2301 **Author:** [@ChengenH](https://github.com/ChengenH) **Created:** 4/21/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`09183e4`](https://github.com/nektos/act/commit/09183e4d0d22842dd7b178a1ebcf7a389d49b63d) chore: use errors.New to replace fmt.Errorf with no parameters will much better ### 📊 Changes **11 files changed** (+25 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `pkg/artifactcache/handler.go` (+1 -1) 📝 `pkg/common/git/git.go` (+1 -1) 📝 `pkg/container/docker_cli.go` (+4 -4) 📝 `pkg/container/docker_run.go` (+1 -1) 📝 `pkg/container/host_environment.go` (+1 -1) 📝 `pkg/exprparser/interpreter.go` (+2 -1) 📝 `pkg/filecollector/file_collector.go` (+2 -1) 📝 `pkg/model/planner.go` (+2 -1) 📝 `pkg/runner/action.go` (+2 -2) 📝 `pkg/runner/action_composite.go` (+2 -1) 📝 `pkg/runner/run_context.go` (+7 -7) </details> ### 📄 Description use errors.New to replace fmt.Errorf with no parameters will much better --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:55:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2380
No description provided.