Sha256: ee2d010f213b304064ff6508d6ab43e3a57a05703057111370785bdde52e4561
Contents?: true
Size: 752 Bytes
Versions: 5
Compression:
Stored size: 752 Bytes
Contents
# frozen_string_literal: true require 'bolt/error' require 'bolt/config/transport/base' module Bolt class Config module Transport class Local < Base WINDOWS_OPTIONS = %w[ bundled-ruby cleanup interpreters tmpdir ].freeze OPTIONS = WINDOWS_OPTIONS.dup.concat(RUN_AS_OPTIONS).sort.freeze DEFAULTS = { 'cleanup' => true }.freeze def self.options Bolt::Util.windows? ? WINDOWS_OPTIONS : OPTIONS end private def validate super if @config['interpreters'] @config['interpreters'] = normalize_interpreters(@config['interpreters']) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems