mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Plugin Generator: Fixed issue with the same files being added multiple time to JPL archive
This commit is contained in:
parent
d0f22140fd
commit
751d0e0745
@ -13,7 +13,7 @@ function readManifest(manifestPath) {
|
||||
}
|
||||
|
||||
function createPluginArchive(sourceDir, destPath) {
|
||||
const distFiles = glob.sync(`${sourceDir}/**/*`)
|
||||
const distFiles = glob.sync(`${sourceDir}/**/*`, { nodir: true })
|
||||
.map(f => f.substr(sourceDir.length + 1));
|
||||
|
||||
if (!distFiles.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user