Skip to content

Commit

Permalink
fix(assets): Refactor
Browse files Browse the repository at this point in the history
Refactoring few mistakes
  • Loading branch information
CustomEntity committed Mar 24, 2024
1 parent 2421a59 commit 68508b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/compiler/assets-manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as chokidar from 'chokidar';
import * as chokidar from 'chokidar';
import { statSync } from 'fs';
import { sync } from 'glob';
import { dirname, join, sep } from 'path';
Expand Down Expand Up @@ -104,7 +104,6 @@ export class AssetsManager {
const files = sync(item.glob, { ignore: item.exclude }).filter(
(matched) => statSync(matched).isFile(),
);

for (const path of files) {
this.actionOnFile({ ...option, path, action: 'change' });
}
Expand Down

0 comments on commit 68508b2

Please sign in to comment.