bin/opensource in opensource-0.3.0 vs bin/opensource in opensource-0.3.1
- old
+ new
@@ -3,10 +3,10 @@
require 'optparse'
require_relative '../lib/opensource'
options = {}
-LICENSES = Dir.new('./templates').map do |filename|
+LICENSES = Dir.new('../templates').map do |filename|
File.basename(filename, '.erb') if !['.', '..'].include?(filename)
end.compact
OptionParser.new do |opts|
opts.banner = "Usage: #{File.basename($PROGRAM_NAME)} OPTIONS"