We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04bcb1 commit c3808ebCopy full SHA for c3808eb
1 file changed
lib/octocatalog-diff/catalog-util/git.rb
@@ -24,6 +24,7 @@ def self.check_out_git_archive(options = {})
24
path = options.fetch(:path)
25
dir = options.fetch(:basedir)
26
logger = options.fetch(:logger)
27
+ override_script_path = options.fetch(:override_script_path, nil)
28
29
# Validate parameters
30
if dir.nil? || !File.directory?(dir)
@@ -36,7 +37,8 @@ def self.check_out_git_archive(options = {})
36
37
# Create and execute checkout script
38
sr_opts = {
39
logger: logger,
- default_script: 'git-extract/git-extract.sh'
40
+ default_script: 'git-extract/git-extract.sh',
41
+ override_script_path: override_script_path
42
}
43
script = OctocatalogDiff::Util::ScriptRunner.new(sr_opts)
44
0 commit comments