You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After further investigation, we determined that this is actually reproducible when just using the grunt build process for the source code of the course. Running
grunt clean && grunt build
yields a tincan.xml file that looks like the one above. However, executing
grunt build
again successfully replaces the placeholders.
It appears that when the replace task is loaded, it immediately goes and searches for the config JSON file, but that file isn't built yet.
Parsing the config JSON needs to be deferred until the replace task executes.
Pull request coming...
The text was updated successfully, but these errors were encountered:
The
tincan.xml
file in the courses we export from the Adapt Authoring Tool (v0.2.2) with Adapt Framework 2.0.15 do not have the placeholders replaced:After further investigation, we determined that this is actually reproducible when just using the
grunt
build process for the source code of the course. Runningyields a
tincan.xml
file that looks like the one above. However, executingagain successfully replaces the placeholders.
It appears that when the replace task is loaded, it immediately goes and searches for the config JSON file, but that file isn't built yet.
Parsing the config JSON needs to be deferred until the replace task executes.
Pull request coming...
The text was updated successfully, but these errors were encountered: