vendored/puppet/lib/puppet/error.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/error.rb in bolt-0.12.0
- old
+ new
@@ -82,10 +82,10 @@
def self.from_issue_and_stack(issue, args = {})
stacktrace = Puppet::Pops::PuppetStack.stacktrace()
if stacktrace.size > 0
filename, line = stacktrace[0]
else
- file = nil
+ filename = nil
line = nil
end
self.new(
issue.format(args),
filename,