Skip to content

Commit 2f50ab8

Browse files
committed
Exit config if size is unset
1 parent 2b14a94 commit 2f50ab8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/vagrant/disksize/config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def initialize
1010
end
1111

1212
def finalize!
13+
return if @size == UNSET_VALUE
1314
# Convert from human to machine readable
1415
size_str = @size.to_s.strip
1516
matches = SIZE_REGEX.match(size_str)

0 commit comments

Comments
 (0)