swift-snapshot-testing
swift-snapshot-testing copied to clipboard
Prevent writing artifacts to invalid location
If SNAPSHOT_ARTIFACTS value is dynamically obtained from an environment variable, an empty string is set for the non-existing variable. This change prevents writing the artifacts to an invalid / prohibited location.
@stephencelis, @mbrandonw Any feedback on this small fix, guys?