Permalink
Browse files

Remove a reference to an option we don't support

  • Loading branch information...
1 parent 9dcc613 commit a5f8808c34732e92ad874735573a41aa055510dc @philc committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/terraform/dsl.rb
View
@@ -18,8 +18,8 @@ def in_path?(command) `which #{command}`.size > 0 end
def fail_and_exit(message) puts message; exit 1 end
# Runs a command and raises an exception if its exit status was nonzero.
+ # Options:
# - silent: if false, log the command being run and its stdout. False by default.
- # - check_exit_code: raises an error if the command had a non-zero exit code. True by default.
def shell(command, options = {})
silent = (options[:silent] != false)
puts command unless silent

0 comments on commit a5f8808

Please sign in to comment.