Removed the word 'done'.

There are cases, when 'done' is prefix with a duration, like `... 0.1s done`.
This commit is contained in:
Juha Ruotsalainen 2019-11-18 08:53:33 +02:00 committed by GitHub
parent 00c27e43ae
commit f2582a17a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module VagrantPlugins
matches = result.scan(/Successfully built (.+)$/i)
if matches.empty?
# Check for the new output format 'writing image sha256...'
matches = result.scan(/writing image sha256:([0-9a-z]+) done$/i)
matches = result.scan(/writing image sha256:([0-9a-z]+) +$/i)
if matches.empty?
# This will cause a stack trace in Vagrant, but it is a bug
# if this happens anyways.