create-torrent
Advanced tools
Comparing version 3.20.1 to 3.20.2
@@ -87,3 +87,3 @@ module.exports = createTorrent | ||
commonPrefix = null | ||
} else if (i === 0) { // The first file has a prefix | ||
} else if (i === 0 && input.length > 1) { // The first file has a prefix | ||
commonPrefix = item.path[0] | ||
@@ -90,0 +90,0 @@ } else if (item.path[0] !== commonPrefix) { // The prefix doesn't match |
{ | ||
"name": "create-torrent", | ||
"description": "Create .torrent files", | ||
"version": "3.20.1", | ||
"version": "3.20.2", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -6,0 +6,0 @@ "bin": { |
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
443952