lib/middleman-remover/extension.rb in middleman-remover-1.0.1 vs lib/middleman-remover/extension.rb in middleman-remover-1.1.0
- old
+ new
@@ -7,10 +7,10 @@
option :paths, [], 'List of remove files/directories paths'
def initialize(app, options_hash = {}, &block)
super
paths = options.paths
- build_dir = app.build_dir
+ build_dir = app.config.build_dir
extension = self
app.after_build do
extension.remove(paths, build_dir)
end