Skip to content

Commit

Permalink
Optparse and Thor not required correctly (#204)
Browse files Browse the repository at this point in the history
Testing moonshot 2.0.0 beta1 on xenial using default ruby version
of 2.3 and moonshot is unable to work due to command and shell not
requiring OptParse and Thor correctly.

This resolves #201
  • Loading branch information
jfarrell authored and askreet committed Feb 20, 2017
1 parent d951e6f commit 5b4cfc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moonshot/command.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'thor'
require 'optparse'

module Moonshot
# A Command that is automatically registered with the Moonshot::CommandLine
Expand Down
2 changes: 2 additions & 0 deletions lib/moonshot/shell.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'thor'

# Mixin providing the Thor::Shell methods and other shell execution helpers.
module Moonshot::Shell
# Run a command, returning stdout. Stderr is suppressed unless the command
Expand Down

0 comments on commit 5b4cfc6

Please sign in to comment.