Skip to content

Commit

Permalink
fix: 'cannot set userConfiguration on undefined' error message (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Aug 21, 2024
1 parent 5806b4b commit acb9331
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/src/engine/flix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export function getExtensionVersion() {
}

export function updateUserConfiguration(userConfiguration: UserConfiguration) {
startEngineInput.userConfiguration = userConfiguration
if (startEngineInput !== undefined) {
startEngineInput.userConfiguration = userConfiguration
}
}

export async function start(input: StartEngineInput) {
Expand Down

0 comments on commit acb9331

Please sign in to comment.