lib/pact/mock_service/cli/pidfile.rb in pact-mock_service-3.6.1 vs lib/pact/mock_service/cli/pidfile.rb in pact-mock_service-3.6.2
- old
+ new
@@ -1,12 +1,14 @@
require 'fileutils'
module Pact
module MockService
class CLI < Thor
+ def self.exit_on_failure? # Thor 1.0 deprecation guard
+ false
+ end
class Pidfile
-
attr_accessor :pid_dir, :name, :pid
def initialize options
@pid_dir = options[:pid_dir] || 'tmp/pids'
@name = options[:name] || default_name