dependabot-common 0.168.0 → 0.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dependabot/shared_helpers.rb +2 -2
- data/lib/dependabot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b69cf25533f4218407e3e5581b6ecc414f8f6c44e14dfbb6b81609bc454e7ae1
|
|
4
|
+
data.tar.gz: 0cb7b69d15ad3d1e3a72a3e3db4b482c7412ea323376ab26fe37dda7855eefa3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 445762adea434c028ad7de6eb5f0e4e20602a35ffca40ad31b755b4d17832b3ffb8b52dedbf9b20a0c5876e4876683360dface607a946205e53bf6f2f64d771c
|
|
7
|
+
data.tar.gz: 5af51494acbd8abe2ccd2654e611816352de52c0ffded03528ab753185a2c1a576da896f83c0bad1354aa6f6e20e660945bdbf0cf668a1880a19953b170edb92
|
|
@@ -280,10 +280,10 @@ module Dependabot
|
|
|
280
280
|
FileUtils.mv(backup_path, GIT_CONFIG_GLOBAL_PATH)
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
-
def self.run_shell_command(command, allow_unsafe_shell_command: false)
|
|
283
|
+
def self.run_shell_command(command, allow_unsafe_shell_command: false, env: {})
|
|
284
284
|
start = Time.now
|
|
285
285
|
cmd = allow_unsafe_shell_command ? command : escape_command(command)
|
|
286
|
-
stdout, process = Open3.capture2e(cmd)
|
|
286
|
+
stdout, process = Open3.capture2e(env || {}, cmd)
|
|
287
287
|
time_taken = Time.now - start
|
|
288
288
|
|
|
289
289
|
# Raise an error with the output from the shell session if the
|
data/lib/dependabot/version.rb
CHANGED