Skip to content

Commit

Permalink
Update packages/astro/src/core/fs/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <[email protected]>
  • Loading branch information
ematipico and bluwy authored Sep 26, 2024
1 parent 0106284 commit 49c4dde
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/astro/src/core/fs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { fileURLToPath } from 'node:url';
const isWindows = process.platform === 'win32';

export function removeEmptyDirs(dir: string): void {
// const dir = fileURLToPath(root);
if (!fs.statSync(dir).isDirectory()) return;
let files = fs.readdirSync(dir);

Expand Down

0 comments on commit 49c4dde

Please sign in to comment.