Skip to content

Commit

Permalink
Merge branch 'feat-pnpm' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki-working committed Sep 1, 2023
2 parents 22441d9 + 2713318 commit 8abfef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ updates:
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
4 changes: 4 additions & 0 deletions module/pnpm/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ func processDir(ctx context.Context, dir string) (result processDirResult) {
result.lockfile = filepath.Join(dir, LockfileName)
LOG := logctx.Use(ctx).Sugar()
f, e := openLockfile(ctx, result.lockfile)
if e != nil {
result.e = e
return
}
LOG.Debugf("reading %s(%s)", LockfileName, result.lockfile)
data, e := io.ReadAll(io.LimitReader(f, MaxLockfileSize))
if e != nil {
Expand Down

0 comments on commit 8abfef4

Please sign in to comment.