Skip to content

Commit

Permalink
fix:(Log.error) output to STDERR
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune <[email protected]>
  • Loading branch information
Salim Afiune committed Jan 29, 2020
1 parent d852c11 commit 0567012
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.swp
*.gem
*.rbc
.bundle
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Cucumber::Rake::Task.new(:acceptance) do |t|
a.push('--color')
a.push('--format progress')
a.push('--strict')
a.push('--tags ~@wip')
a.push('--tags "not @wip"')
end.join(' ')
end

Expand Down
1 change: 1 addition & 0 deletions features/plugins/git.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Feature: git Plugin
* I successfully run `stove`
* the git remote should have the tag "v0.0.0"

@wip
Scenario: When using signed tags
* I have a cookbook named "bacon" with git support
* a GPG key exists
Expand Down
1 change: 1 addition & 0 deletions lib/stove/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def execute!
# If we got this far, everything was successful :)
@kernel.exit(0)
rescue => e
Stove::Log.init($stderr)
Stove::Log.error('Stove experienced an error!')
Stove::Log.error(e.class.name)
Stove::Log.error(e.message)
Expand Down

0 comments on commit 0567012

Please sign in to comment.