@posiwise/common-services 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1552,6 +1552,8 @@ class PermissionService {
1552
1552
  if (typeof permission !== 'boolean') {
1553
1553
  permission.split(' ').forEach(x => {
1554
1554
  const raw = x.trim();
1555
+ if (!raw)
1556
+ return;
1555
1557
  if (['||', '&&', '(', ')'].includes(raw)) {
1556
1558
  expr += ` ${raw} `;
1557
1559
  }