module ViteRuby::CLI::FileUtils

def index(content, path, target)

Other tags:
    Api: - private

Other tags:
    Since: - 1.2.11
def index(content, path, target)
  content.index { |line| line.include?(target) } ||
    raise(ArgumentError, "Cannot find `#{ target }' inside `#{ path }'.")
end