Skip to content

Commit 615b03a

Browse files
committed
Check for requirements.json without trying to read it
1 parent f8edad0 commit 615b03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zendesk_apps_support/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def has_location?
103103
end
104104

105105
def has_requirements?
106-
!requirements_json.nil?
106+
File.exist?(File.join(root, "requirements.json"))
107107
end
108108

109109
def is_requirements_only?

0 commit comments

Comments
 (0)