Skip to content

Commit

Permalink
fix(build): do not fail if there is nothing to be built
Browse files Browse the repository at this point in the history
When used across matrix job in CI platforms, there are instances when build gets triggered but on
deep introspection, there will be nothing to be built. However the CI platforms have different
intricacies which make dependent jobs really difficult. To simplify this, we will not let build
failwhe

BREAKING CHANGE: Build will not fail if there is nothing to be built
  • Loading branch information
azlam-abdulsalam committed Aug 24, 2023
1 parent a00b0e4 commit dd90957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sfpowerscripts-cli/src/BuildBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default abstract class BuildBase extends SfpowerscriptsCommand {
SFPLogger.log(`${EOL}${EOL}`);
SFPLogger.log(COLOR_INFO('No packages found to be built.. Exiting.. '));
SFPLogger.printHeaderLine('',COLOR_HEADER,LoggerLevel.INFO);
throw new Error('No packages to be found to be built');
return;
}

SFPLogger.log(`${EOL}${EOL}`);
Expand Down

0 comments on commit dd90957

Please sign in to comment.