Skip to content

Commit 3a1893e

Browse files
no message
1 parent bddf021 commit 3a1893e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-npx.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function cli(args) {
6767
const files = zip.getEntries();
6868
files.forEach(file => {
6969
//Only copy files as we are handling the folders
70-
if (file.entryName.includes('.')) {
70+
if (!file.entryName.endsWith('/')) {
7171
let newDestination = destination;
7272
//Remove the root directory
7373
let entryPath = file.entryName.substring(file.entryName.indexOf('/') + 1, file.entryName.length);

0 commit comments

Comments
 (0)