@stonecrop/stonecrop 0.12.0 → 0.12.1

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.
@@ -410,7 +410,7 @@ export class Stonecrop {
410
410
  initialState =
411
411
  typeof workflow.initial === 'string'
412
412
  ? workflow.initial
413
- : Object.keys(workflow.states ?? {})[0] ?? '';
413
+ : (Object.keys(workflow.states ?? {})[0] ?? '');
414
414
  }
415
415
  return status || initialState;
416
416
  }