Remove platform require since it is no longer required in file
This commit is contained in:
parent
a22acba467
commit
ace67ccdeb
|
@ -2,8 +2,6 @@ require "pathname"
|
||||||
|
|
||||||
require "log4r"
|
require "log4r"
|
||||||
|
|
||||||
require "vagrant/util/platform"
|
|
||||||
|
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Config
|
module Config
|
||||||
# This class is responsible for loading Vagrant configuration,
|
# This class is responsible for loading Vagrant configuration,
|
||||||
|
@ -132,7 +130,6 @@ module Vagrant
|
||||||
if e.backtrace && e.backtrace[0]
|
if e.backtrace && e.backtrace[0]
|
||||||
backtrace_tokens = e.backtrace[0].split(":")
|
backtrace_tokens = e.backtrace[0].split(":")
|
||||||
path = e.backtrace.first.slice(0, e.backtrace.first.rindex(':')).rpartition(':').first
|
path = e.backtrace.first.slice(0, e.backtrace.first.rindex(':')).rpartition(':').first
|
||||||
|
|
||||||
backtrace_tokens.each do |part|
|
backtrace_tokens.each do |part|
|
||||||
if part =~ /\d+/
|
if part =~ /\d+/
|
||||||
line = part.to_i
|
line = part.to_i
|
||||||
|
|
Loading…
Reference in New Issue