hamlet-io / executor-bash

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

[BUG] Replace1 Execution Failure still running Replace2 #313

Open roleyfoley opened 2 years ago

roleyfoley commented 2 years ago

Current Behaviour

When running a replace1 execution, if that template fails to execute the the replace2 template is executed

Expected Behaviour

When replace1 can not be executed the manageStack process should exit and not attempt to continue processing

Possible Solution

Check handling around replace1/replace2 stack management and ensure that failures on either stack are handled inline with expected behaviour

Steps to Reproduce

1. 2. 3. 4.