2 ms·
The fine article includes this code: ```mermaid flowchart TD; A[Depoy to production] --> B{Is it Friday?}; B -- Yes --> C[Do not deploy!];
by dotancohen 5y ago
The fine article includes this code:
```mermaid
flowchart TD;
A[Depoy to production] --> B{Is it Friday?};
B -- Yes --> C[Do not deploy!];
B -- No --> D[Run deploy.sh to deploy!];
C --> E[Enjoy your weekend!];
D --> E[Enjoy your weekend!];
```
What happens if the two declarations of E conflict? E.g.:
C --> E[Enjoy your weekend!];
D --> E[Have fun this weekend!];
- tremon 5y agoThe latter takes precedence, apparently. But the correct way to do this: C --> E; D --> E; E[Enjoy your weekend!];