We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
matchResult
1 parent 4c597fa commit b0bb864Copy full SHA for b0bb864
src/exportJarSteps/ExportJarTaskProvider.ts
@@ -289,10 +289,7 @@ class ExportJarTaskTerminal implements Pseudoterminal {
289
continue;
290
}
291
const matchResult: RegExpMatchArray | null = element.match(regExp);
292
- if (matchResult === null) {
293
- continue;
294
- }
295
- if (_.isEmpty(matchResult) || matchResult.length <= 2) {
+ if (matchResult === null || _.isEmpty(matchResult) || matchResult.length <= 2) {
296
if (extname(element) === ".jar") {
297
artifacts.push(this.toAbsolutePosixPath(element));
298
} else {
0 commit comments