diff --git a/lib/index.js b/lib/index.js index a823965a0c0..084cf798333 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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)));