Skip to content

Commit b59436a

Browse files
committedJul 3, 2024·
style: fix formatting
1 parent 285980e commit b59436a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎lib/compiler/assets-manager.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ export class AssetsManager {
6060

6161
const filesToCopy = assets.map<AssetEntry>((item) => {
6262
let includePath = typeof item === 'string' ? item : item.include!;
63-
let excludePath = typeof item !== 'string' && item.exclude ? item.exclude : undefined;
63+
let excludePath =
64+
typeof item !== 'string' && item.exclude ? item.exclude : undefined;
6465

6566
includePath = join(sourceRoot, includePath).replace(/\\/g, '/');
66-
excludePath = excludePath ? join(sourceRoot, excludePath).replace(/\\/g, '/') : undefined;
67+
excludePath = excludePath
68+
? join(sourceRoot, excludePath).replace(/\\/g, '/')
69+
: undefined;
6770

6871
return {
6972
outDir: typeof item !== 'string' ? item.outDir || outDir : outDir,

0 commit comments

Comments
 (0)
Please sign in to comment.