hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

refactor: remove egrep usage for stack status #268

Closed roleyfoley closed 3 years ago

roleyfoley commented 3 years ago

Intent of Change

Description

removes egrep usage in stack management status checks and use bash based regex instead

Motivation and Context

When running manageStack on an OSX based machine the following error is logged with the current regex used in status checks egrep: repetition-operator operand invalid

OSX appears to use a different grep build than whats in linux so the behaviour is different.

now that the stackStatus variable is a string its possible to use the standard bash expression matching

How Has This Been Tested?

Tested locally

Related Changes

Prerequisite PRs:

Dependent PRs:

Consumer Actions: