Skip to content

Commit

Permalink
Create key regardless of whether README.md exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdziuban committed Jul 24, 2015
1 parent a6c32c9 commit d8b8d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dotgpg/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def init(directory=".")
FileUtils.mkdir_p(dir.dotgpg)
unless File.exist? 'README.md'
FileUtils.cp Pathname.new(__FILE__).dirname.join("template/README.md"), dir.path.join("README.md")
dir.add_key(key)
end
dir.add_key(key)
end

desc "key", "export your GPG public key in a format that `dotgpg add` will understand"
Expand Down

0 comments on commit d8b8d93

Please sign in to comment.