diff --git a/.tasks/ci.rake b/.tasks/ci.rake index 4da68620735..ee8b9431131 100644 --- a/.tasks/ci.rake +++ b/.tasks/ci.rake @@ -3,7 +3,7 @@ require 'json' def dockerfile_or_language_config?(path) - path.end_with?('Dockerfile') || (path.split(File::SEPARATOR).one? && path.end_with?('config.yaml')) + path.end_with?('Dockerfile') || (path.split(File::SEPARATOR).size == 2 && path.end_with?('config.yaml')) end def input_files