lib/slackdo.rb in slackdo-0.2.0 vs lib/slackdo.rb in slackdo-0.2.1
- old
+ new
@@ -3,10 +3,10 @@
require 'slack-notifier'
module Slackdo
class Webhook
def create_directory
- system 'mkdir ~/.slackdo'
+ system 'mkdir ~/.slackdo &> /dev/null'
end
def configure_webhook
cli = HighLine.new
webhook = cli.ask 'Configure your webhook:'
system "echo #{webhook} > ~/.slackdo/webhook"