chore: update configuration files and improve linting for Windows
- Added `go1.24.0.linux-amd64.tar.gz` to `.gitignore`. - Removed unnecessary newline in `.mergify.yml`. - Updated `codecov.yml` to correct indentation for ignored files. - Enhanced `Makefile` to support linting on Windows. - Adjusted `.github/dependabot.yml` for proper indentation. - Fixed string quotes in `.github/workflows/checks.yml`. - Modified `pkg/container/util_windows.go` to ignore unused parameter. - Updated error handling in `pkg/lookpath/lp_windows.go`. - Refactored `pkg/runner/step_action_remote.go` to improve URL handling. - Updated `pkg/runner/hashfiles/index.js` with significant changes for better performance and structure.
This commit is contained in:
@@ -77,9 +77,8 @@ func LookPath2(file string, lenv Env) (string, error) {
|
||||
if strings.ContainsAny(file, `:\/`) {
|
||||
if f, err := findExecutable(file, exts); err == nil {
|
||||
return f, nil
|
||||
} else {
|
||||
return "", &Error{file, err}
|
||||
}
|
||||
return "", &Error{file, ErrNotFound}
|
||||
}
|
||||
if f, err := findExecutable(filepath.Join(".", file), exts); err == nil {
|
||||
return f, nil
|
||||
|
||||
Reference in New Issue
Block a user