Skip to content

Commit

Permalink
fix(deps): update to the latest version of the git plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Feb 27, 2025
1 parent 06d4cfd commit 3e14f29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"dependencies": {
"@form8ion/core": "^4.6.0",
"@form8ion/git": "^2.0.0",
"@form8ion/git": "^2.1.1",
"@form8ion/overridable-prompts": "^1.1.0",
"@form8ion/readme": "3.1.0",
"@form8ion/results-reporter": "^1.1.0",
Expand Down
5 changes: 2 additions & 3 deletions test/integration/features/step_definitions/vcs/git-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Then(/^the base git files should not be present$/, async function () {
Then('the ignores are defined in the gitignore', async function () {
const gitIgnoreContent = await fs.readFile(`${process.cwd()}/.gitignore`, 'utf-8');

assert.include(gitIgnoreContent, `${this.vcsIgnoreDirectories.join('\n')}\n\n${this.vcsIgnoreFiles.join('\n')}`);
assert.include(gitIgnoreContent, `${this.vcsIgnoreDirectories.join('\n')}\n${this.vcsIgnoreFiles.join('\n')}`);
});

Then('the additional ignores are added to the gitignore', async function () {
Expand All @@ -100,7 +100,6 @@ Then('the additional ignores are added to the gitignore', async function () {
${this.existingVcsIgnoredFiles.join('\n')}
${this.vcsIgnoreDirectories.join('\n')}
${this.vcsIgnoreFiles.join('\n')}`
);
});
Expand All @@ -115,6 +114,6 @@ Then('the gitignore file is unchanged', async function () {
Then('the gitignore file is added', async function () {
assert.equal(
await fs.readFile(`${process.cwd()}/.gitignore`, 'utf-8'),
`\n${this.vcsIgnoreDirectories.join('\n')}\n\n${this.vcsIgnoreFiles.join('\n')}`
`${this.vcsIgnoreDirectories.join('\n')}\n${this.vcsIgnoreFiles.join('\n')}`
);
});

0 comments on commit 3e14f29

Please sign in to comment.