Skip to content

Commit

Permalink
Merge e39ba78 into 4dd7382
Browse files Browse the repository at this point in the history
  • Loading branch information
gburgett committed Jan 30, 2020
2 parents 4dd7382 + e39ba78 commit 02b260a
Show file tree
Hide file tree
Showing 8 changed files with 576 additions and 177 deletions.
2 changes: 1 addition & 1 deletion Dangerfile
Expand Up @@ -23,4 +23,4 @@ unless declared_trivial
end

# Run all checks in WM plugin
wcc.all(reek: false, rubocop: false)
wcc.all(reek: false, rubocop_exceptions: false, jshint: false, commit_lint: false)
2 changes: 1 addition & 1 deletion wcc-contentful/lib/wcc/contentful/store/base.rb
Expand Up @@ -115,7 +115,7 @@ def ensure_hash(val)
raise ArgumentError, 'Value must be a Hash' unless val.is_a?(Hash)
end

protected
private

attr_reader :mutex
end
Expand Down
2 changes: 1 addition & 1 deletion wcc-contentful/lib/wcc/contentful/store/cdn_adapter.rb
Expand Up @@ -148,7 +148,7 @@ def response
def resolve_includes(entry, depth)
return entry unless entry && depth && depth > 0

WCC::Contentful::LinkVisitor.new(entry, :Link, :Asset, depth: depth).map! do |val|
WCC::Contentful::LinkVisitor.new(entry, :Link, :Asset, depth: depth - 1).map! do |val|
resolve_link(val)
end
end
Expand Down

0 comments on commit 02b260a

Please sign in to comment.