Skip to content

Commit 3731428

Browse files
authored
Disable deprecation warning if missing a command, and this not changed other behaviour. Issue #35 (#51)
1 parent bf362a6 commit 3731428

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/importmap/commands.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
class Importmap::Commands < Thor
55
include Thor::Actions
6+
7+
def self.exit_on_failure?
8+
false
9+
end
610

711
desc "pin [*PACKAGES]", "Pin new packages"
812
option :env, type: :string, aliases: :e, default: "production"

0 commit comments

Comments
 (0)