Commit e8ed038
Fix lint errors and update yarn_lockfile_updater test
- Remove unnecessary rubocop:disable/enable Metrics/PerceivedComplexity
- Convert if block to modifier style per Style/IfUnlessModifier
- Update yarn_lockfile_updater_spec to expect MisconfiguredTooling
(with the FF removed, single-dep scenarios no longer raise
"Expected content to change!" — the yarn updater now correctly
detects the misconfigured .yarnrc.yml)
Co-authored-by: pavera <660677+pavera@users.noreply.github.com>1 parent 2f4a74f commit e8ed038
3 files changed
Lines changed: 3 additions & 13 deletions
File tree
- bun/lib/dependabot/bun/file_updater
- npm_and_yarn
- lib/dependabot/npm_and_yarn/file_updater
- spec/dependabot/npm_and_yarn/file_updater
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
89 | | - | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
| |||
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
89 | | - | |
90 | 85 | | |
91 | 86 | | |
92 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments