Skip to content

Commit 47de431

Browse files
authored
Merge pull request #735 from jpogran/gh-730-libssp
(GH-730) Fix ffi 1.14 libssp-0.dll missing with PDK 2.0
2 parents cd91567 + b98fc15 commit 47de431

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)