@microtica/code-repository
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -103,5 +103,8 @@ "use strict"; | ||
.on('entry', (entry) => { | ||
const name = entry.path.substring(entry.path.indexOf('/') + 1); | ||
if (!name && name.indexOf(subPath) !== 0) | ||
let name = entry.path.substring(entry.path.indexOf('/') + 1); | ||
if (!name) | ||
return; | ||
if (name.indexOf(subPath) === 0) { | ||
name = name.substring(subPath.length); | ||
} | ||
console.log('[INFO] Zip:', name); | ||
@@ -108,0 +111,0 @@ packageArchive.append(entry, { name }); |
{ | ||
"name": "@microtica/code-repository", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Integration module with git repository providers", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14475
207