Add smoketest for esbuild packaging

This commit is contained in:
Alex Dima 2022-02-05 00:55:28 +01:00
parent c0b99e4785
commit 208f9218f9
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
8 changed files with 98 additions and 3 deletions

View file

@ -62,7 +62,7 @@ export function removeDir(_dirPath: string, keep?: (filename: string) => boolean
for (const entry of entries) {
const filePath = path.join(dirPath, entry);
const relativeFilePath = path.join(relativeDirPath, entry);
if (keep(relativeFilePath)) {
if (keep!(relativeFilePath)) {
keepsFiles = true;
continue;
}