Skip to content

Commit

Permalink
Update lib/modules/manager/gomod/artifacts.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored Dec 15, 2024
1 parent c944f2d commit 55181d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/modules/manager/gomod/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ export async function updateArtifacts({
const vendorModulesFileName = upath.join(vendorDir, 'modules.txt');
const useVendor =
!!config.postUpdateOptions?.includes('gomodVendor') ||
((await readLocalFile(vendorModulesFileName)) !== null &&
!config.postUpdateOptions?.includes('gomodSkipVendor'));
(!config.postUpdateOptions?.includes('gomodSkipVendor') &&
(await readLocalFile(vendorModulesFileName)) !== null);
let massagedGoMod = newGoModContent;

if (config.postUpdateOptions?.includes('gomodMassage')) {
Expand Down

0 comments on commit 55181d9

Please sign in to comment.