Skip to content

Commit 27b56d4

Browse files
test: debug
1 parent d4f4718 commit 27b56d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ class CopyPlugin {
447447
context: pattern.context,
448448
absoluteFilename,
449449
})
450-
: typeof pattern.to !== "undefined"
451-
? path.normalize(pattern.to)
452-
: "";
450+
: path.normalize(
451+
typeof pattern.to !== "undefined" ? pattern.to : "",
452+
);
453453
const toType =
454454
pattern.toType ||
455455
(template.test(to)

0 commit comments

Comments
 (0)