Skip to content

Commit

Permalink
fix: do not source current execution environment from exporter
Browse files Browse the repository at this point in the history
Exporter is usually the _last_, not necessarily the current editor.
  • Loading branch information
nikku committed Dec 12, 2024
1 parent 2c95fc5 commit ad8897e
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ export default function({ templates = [] }) {
// helpers //////////////////////

function getEnginesConfig(definitions) {
const {
exporter,
exporterVersion
} = definitions;

const engines = {};

const executionPlatform = definitions.get('modeler:executionPlatform');
Expand All @@ -97,10 +92,6 @@ function getEnginesConfig(definitions) {
engines.camunda = executionPlatformVersion;
}

if (exporter === 'Camunda Modeler' && exporterVersion) {
engines.camundaDesktopModeler = exporterVersion;
}

return engines;
}

Expand Down

0 comments on commit ad8897e

Please sign in to comment.