wttech / APM

AEM Permission Management (APM) is an AEM based, cloud compatible tool focused on streamlining the permission configuration.
Apache License 2.0
54 stars 15 forks source link

Double slash comments are silently breaking script execution #388

Closed jakub-przybytek-wttech closed 1 year ago

jakub-przybytek-wttech commented 1 year ago

When I applied comment starting with double slash (which is wrong, I know) my script didn't end with error but silently break the execution instead, see:

Some valid APM commands that were successfully executed

// wrong comment starting characters

Some valid APM commands that wasn't executed at all

I think, that ff double slash is not valid syntax of APM then it should break the run.