1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-18 17:53:11 +02:00
This commit is contained in:
Mike Linksvayer 2018-10-27 16:47:47 +00:00 committed by GitHub
parent 2eced946c7
commit 50b8224656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,7 @@ require 'colored'
require 'fuzzy_match'
# Display usage instructions
if ARGV.count != 1
puts File.open(__FILE__).read.scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '')
end
puts File.open(__FILE__).read.scan(/^# .*/)[0...3].join("\n").gsub(/^# /, '') if ARGV.count != 1
class TrueClass
def to_s