Skip to content

Commit

Permalink
Allow URL interpolation in tool URLs
Browse files Browse the repository at this point in the history
This means that tools can be generated on the fly if needed, for example for Xtext.
  • Loading branch information
szschaler authored Jan 10, 2024
1 parent d5f26e0 commit da3c852
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions platform/src/ActivityManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,10 @@ class ActivityManager {
var toolUrls = [];

for ( const activitykey of Object.keys(this.activities)){

toolUrls = toolUrls.concat( this.activities[activitykey].tools );
toolUrls = toolUrls.concat(this.activities[activitykey].tools
.map((url, _idx) => {
return this.interpolate(url);
}));
}

return ( new Set(toolUrls) );
Expand Down

0 comments on commit da3c852

Please sign in to comment.