Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
remove fs-extra
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Oct 12, 2023
1 parent 7807840 commit 1c5b8d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"@types/sockjs-client": "^1.5.1",
"altv-pkg": "^2.3.1",
"fkill": "^8.1.1",
"fs-extra": "^11.1.1",
"glob": "^10.3.1",
"prettier": "^2.6.2",
"stylus": "^0.58.1",
Expand Down
4 changes: 2 additions & 2 deletions scripts/documentation/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'path';
import fs from 'fs';
import fsextra from 'fs-extra';
import { glob } from 'glob';
import { writeFile } from '../shared/fileHelpers.js';

const docsPath = join(process.cwd(), './docs');
const filesToRemove = ['.nojekyll', 'modules.md', 'README.md'];
Expand Down Expand Up @@ -89,5 +89,5 @@ for (let file of files) {
i += 1; // Increment by 1 to prevent endless loop
}

fsextra.writeFileSync(file, rows.join('\n'));
writeFile(file, rows.join('\n'));
}

0 comments on commit 1c5b8d7

Please sign in to comment.