Skip to content

Commit

Permalink
feat(lift): provide vcs details to the lift process
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jul 26, 2024
1 parent 142c124 commit 008a5a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/scaffolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function scaffold(options) {
nextSteps: contributedTasks
});

await lift({projectRoot, results: deepmerge.all(contributors), enhancers: {...dependencyUpdaters, ...vcsHosts}});
await lift({projectRoot, vcs, results: deepmerge.all(contributors), enhancers: {...dependencyUpdaters, ...vcsHosts}});

const gitResults = gitRepo && await liftGit({projectRoot, origin: vcsHostResults});

Expand Down
1 change: 1 addition & 0 deletions src/scaffolder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ describe('project scaffolder', () => {
expect(scaffoldEditorconfig).toHaveBeenCalledWith({projectRoot: projectPath});
expect(lift).toHaveBeenCalledWith({
projectRoot: projectPath,
vcs,
results: deepmerge.all([licenseResults, languageResults, dependencyUpdaterResults, contributingResults]),
enhancers: {...dependencyUpdaters, ...vcsHosts}
});
Expand Down

0 comments on commit 008a5a9

Please sign in to comment.