Sha256: 24f3f22ad3438d2f45b28340991147087388df2a3d4da6700b2d971266be0613
Contents?: true
Size: 294 Bytes
Versions: 23
Compression:
Stored size: 294 Bytes
Contents
require "pathname" module CypressRails class FindsBin LOCAL_PATH = "node_modules/.bin/cypress" def call(dir = Dir.pwd) local_path = Pathname.new(dir).join(LOCAL_PATH) if File.exist?(local_path) local_path else "cypress" end end end end
Version data entries
23 entries across 23 versions & 1 rubygems