Skip to content

Commit b98fc15

Browse files
committed
(GH-730) Fix ffi 1.14 libssp-0.dll missing
This commit adds the git binary paths to the PATH environment variable to address the missing libssp-0.dll in ffi 1.14. This can be removed once ffi 1.15 is distributed with Puppet and the PDK.
1 parent 73d0bbb commit b98fc15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/helpers/commandHelper.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ export class CommandEnvironmentHelper {
219219
exe.options.env.PATH = this.buildPathArray([
220220
config.ruby.pdkBinDir,
221221
config.ruby.pdkRubyBinDir,
222+
// temporary fix for ffi 1.14.2
223+
// remove when pdk 2.X comes out https://github.com/puppetlabs/puppet-vscode/issues/730
224+
path.join(config.ruby.puppetBaseDir, 'private', 'git', 'mingw64', 'bin'),
225+
path.join(config.ruby.puppetBaseDir, 'private', 'git', 'mingw64', 'libexec', 'git-core'),
226+
path.join(config.ruby.puppetBaseDir, 'private', 'git', 'usr', 'bin'),
222227
exe.options.env.PATH,
223228
]);
224229
}

0 commit comments

Comments
 (0)