Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Dec 14, 2024
1 parent 160e6ff commit a4b70d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,7 @@ module.exports = {
},
],
'@typescript-eslint/prefer-optional-chain': 2,
'@typescript-eslint/prefer-nullish-coalescing': [
2,
{ ignoreMixedLogicalExpressions: true },
],
'@typescript-eslint/prefer-nullish-coalescing': 2,
curly: [2, 'all'],
'require-await': 2,
// next 2 rules disabled due to https://github.com/microsoft/TypeScript/issues/20024
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/gomod/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export async function updateArtifacts({
const vendorDir = upath.join(goModDir, 'vendor/');
const vendorModulesFileName = upath.join(vendorDir, 'modules.txt');
const useVendor =
config.postUpdateOptions?.includes('gomodVendor') ||
!!config.postUpdateOptions?.includes('gomodVendor') ||
((await readLocalFile(vendorModulesFileName)) !== null &&
!config.postUpdateOptions?.includes('gomodSkipVendor'));
let massagedGoMod = newGoModContent;
Expand Down

0 comments on commit a4b70d5

Please sign in to comment.