Skip to content

Commit 048ef73

Browse files
committed
chore: remove logs and refine workflows
1 parent 4444d31 commit 048ef73

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

.github/workflows/go-getter.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env:
88
jobs:
99

1010
linux-tests:
11-
if: false
1211
runs-on: ubuntu-latest
1312
strategy:
1413
matrix:
@@ -155,7 +154,6 @@ jobs:
155154
path: win_cov.part
156155

157156
linter:
158-
if: false
159157
runs-on: ubuntu-latest
160158
steps:
161159
- name: Checkout code

copy_dir.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,20 @@ func mode(mode, umask os.FileMode) os.FileMode {
2020
func safeEvalSymlinks(path string) (string, error) {
2121
resolved, err := filepath.EvalSymlinks(path)
2222
if err == nil || runtime.GOOS != "windows" {
23-
fmt.Println("Resolved symlink:", resolved)
2423
return resolved, err
2524
}
2625

2726
// On Windows with Go 1.23+, EvalSymlinks may not resolve junctions
2827
fi, statErr := os.Lstat(path)
2928
if statErr != nil {
30-
fmt.Println("Failed to stat path:", path, "Error:", statErr)
3129
return "", err // fallback to original error
3230
}
3331

3432
if fi.Mode()&os.ModeSymlink != 0 || fi.Mode()&os.ModeIrregular != 0 {
35-
fmt.Println("Path is a junction or symlink:", path)
3633
return path, nil
3734
}
3835

3936
// It's a normal directory or file — return it as-is
40-
fmt.Println("Path is not a symlink or junction:", path)
4137
return path, nil
4238
}
4339

0 commit comments

Comments
 (0)