Skip to content

Commit 1b1e9d3

Browse files
committed
We don't need to create yaml if @volumes is empty.
1 parent edbd71a commit 1b1e9d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/setup-environment

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ sub handle_recipe {
124124
}
125125
}
126126

127+
return unless @volumes;
128+
127129
my ( $fh, $file ) = tmpnam();
128130
print $fh <<YAML;
129131
version: "3"

0 commit comments

Comments
 (0)