bin/cfn-compiler in aws-cfn-compiler-0.0.6 vs bin/cfn-compiler in aws-cfn-compiler-0.0.7

- old
+ new

@@ -4,10 +4,10 @@ # require 'safe_yaml' # SafeYAML::OPTIONS[:default_mode] = :safe # Borrowing from "whiches" gem ... -cmd = 'json_pp' +cmd = File.basename(__FILE__, '.rb') exes = [] exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : [''] ENV['PATH'].split(File::PATH_SEPARATOR).each do |path| exts.each { |ext| exe = File.join(path, "#{cmd}#{ext}") \ No newline at end of file