Tab => Spaces
This commit is contained in:
parent
bfcc0d3939
commit
c25ff5300a
|
@ -51,8 +51,9 @@ module Vagrant
|
||||||
|
|
||||||
def with_tempfile
|
def with_tempfile
|
||||||
logger.info "Creating tempfile for storing box file..."
|
logger.info "Creating tempfile for storing box file..."
|
||||||
|
|
||||||
# create, write only, fail if the file exists
|
# create, write only, fail if the file exists
|
||||||
File.open(file_temp_path, File::WRONLY|File::EXCL|File::CREAT) do |tempfile|
|
File.open(file_temp_path, File::WRONLY | File::EXCL | File::CREAT) do |tempfile|
|
||||||
yield tempfile
|
yield tempfile
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue