Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function buildPackage(openapiGeneratorCliVersion, openapiGeneratorCliDownl
// download the java binary
await downloadFile(openapiGeneratorCliDownloadLink, path.resolve(packageDistDir, 'bin/openapi-generator.jar'));

// copy all files which are listen in the package.json (files property) to package dist directory
// copy all files which are listed in the package.json (files property) to package dist directory
packageInfo.files
.filter(file => !file.endsWith('openapi-generator.jar'))
.forEach(async file => await fs.copy(path.resolve(file), path.resolve(packageDistDir, file)));
Expand Down