Skip to content

Commit ad4036f

Browse files
committed
(GH-605) Use correct setting name for module path
Previously when passing through a module path to the language server it would use the puppet setting `modulePath` however this is not cased correctly. This commit uses the correct `modulepath` puppet setting.
1 parent bae72ad commit ad4036f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/commandHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class CommandEnvironmentHelper {
157157
[
158158
{ name: 'confdir', value: settings.workspace.editorService.puppet.confdir },
159159
{ name: 'environment', value: settings.workspace.editorService.puppet.environment },
160-
{ name: 'modulePath', value: settings.workspace.editorService.puppet.modulePath },
160+
{ name: 'modulepath', value: settings.workspace.editorService.puppet.modulePath },
161161
{ name: 'vardir', value: settings.workspace.editorService.puppet.vardir }
162162
].forEach(function (item) {
163163
if (item.value !== undefined && item.value !== '') {

0 commit comments

Comments
 (0)