3 ms·
I wanted a no*-op script the other day: script: - true # oh no* No* pun intended. *Pun also intended. (To the uninitiated: YAML automatically casts t
by gorgoiler 4y ago
I wanted a no*-op script the other day:
script:
- true # oh no*
No* pun intended.
*Pun also intended.
(To the uninitiated: YAML automatically casts the bare string “true” into a boolean for you. Fairly reasonable. But it does the same with “yes” and, per the parent comment, “no” too. This is problematic if you have a list of ISO language codes including Norwegian.)
- Gare 4y agoYAML 1.2 fixed that, but almost nobody supports or uses it (in my experience).
- notreallyserio 4y ago"y" is similarly afflicted.