Skip to content

Commit 2144134

Browse files
committed
✏️ Fix typo
Signed-off-by: Peter H. Boling <[email protected]>
1 parent 86a28e6 commit 2144134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cyclonedx/bom_builder.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def self.build(path)
1717
@logger.info("Changing directory to the original working directory located at #{original_working_directory}")
1818
Dir.chdir original_working_directory
1919
rescue StandardError => e
20-
@logger.error("Unable to change directory the original working directory located at #{original_working_directory}. #{e.message}: #{Array(e.backtrace).join("\n")}")
20+
@logger.error("Unable to change to the original working directory located at #{original_working_directory}. #{e.message}: #{Array(e.backtrace).join("\n")}")
2121
abort
2222
end
2323

@@ -44,7 +44,7 @@ def self.build(path)
4444
end
4545
end
4646

47-
def self.setup(_path)
47+
def self.setup(path)
4848
@options = {}
4949
OptionParser.new do |opts|
5050
opts.banner = 'Usage: cyclonedx-ruby [options]'

0 commit comments

Comments
 (0)