Skip to content

Commit

Permalink
chore(deps): remove unused make-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Feb 9, 2025
1 parent d793dea commit 7f87342
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
"jest-when": "3.7.0",
"lockfile-lint": "4.14.0",
"ls-engines": "0.9.3",
"make-dir": "4.0.0",
"mdast-util-from-markdown": "2.0.2",
"mdast-util-heading-range": "4.0.0",
"mdast-zone": "6.1.0",
Expand Down
3 changes: 1 addition & 2 deletions test/integration/features/step_definitions/vcs/git-steps.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {promises as fs} from 'node:fs';

import {GitError} from 'simple-git';
import makeDir from 'make-dir';
import {fileExists} from '@form8ion/core';

import {Before, Given, Then} from '@cucumber/cucumber';
Expand Down Expand Up @@ -34,7 +33,7 @@ Given('the project root is already initialized as a git repository', async funct
this.existingVcsIgnoredFiles = any.listOf(any.word);
this.existingVcsIgnoredDirectories = any.listOf(any.word);

await makeDir(`${process.cwd()}/.git`);
await fs.mkdir(`${process.cwd()}/.git`, {recursive: true});
await fs.writeFile(
`${process.cwd()}/.gitignore`,
`${this.existingVcsIgnoredDirectories.join('\n')}\n\n${this.existingVcsIgnoredFiles.join('\n')}`
Expand Down

0 comments on commit 7f87342

Please sign in to comment.