/Users/pence/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/contracts-0.12.0/lib/contracts.rb:48:in `block in <class:Contract>': Contract violation for argument 2 of 3: (ParamContractError)
Expected: (String or Pathname),
Actual: nil
Value guarded in: Middleman::Builder::trigger
With Contract: Symbol, Or, Maybe => Any
From the original method, it looks like you should be passing in the file path as the second parameter, and maybe nothing at all for the third parameter. (It looks optional, given the way that other MM methods call Builder#trigger.)
Doing so gives the following contract violation:
Looks like it's coming from right here.
From the original method, it looks like you should be passing in the file path as the second parameter, and maybe nothing at all for the third parameter. (It looks optional, given the way that other MM methods call Builder#trigger.)