Created
December 22, 2021 00:30
-
-
Save ryanjafari/385bea9e82df6e613742674ed97f5056 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($yaml.machine | empty?) { | |
echo 'yaml is empty' | |
} { | |
if ($yaml.machine.network | empty?) { | |
echo 'network is empty' | |
} { | |
echo 'network is not empty' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment