Skip to content

Commit

Permalink
Fix: Dynamic course folders (fixes #264) (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Mar 9, 2023
1 parent 0534f4c commit a0b8813
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adapt-contrib-spoor",
"version": "5.5.7",
"framework": ">=5.24",
"framework": ">=5.28.1",
"homepage": "https://github.com/adaptlearning/adapt-contrib-spoor",
"bugs": "https://github.com/adaptlearning/adapt-contrib-spoor/issues",
"extension": "spoor",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adapt-contrib-spoor",
"version": "5.5.7",
"framework": ">=5.24",
"framework": ">=5.28.1",
"homepage": "https://github.com/adaptlearning/adapt-contrib-spoor",
"bugs": "https://github.com/adaptlearning/adapt-contrib-spoor/issues",
"extension": "spoor",
Expand Down
2 changes: 1 addition & 1 deletion scripts/postcopy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = async function(fs, path, log, options, done) {
try {
const buildPath = options.outputdir;
const coursePath = `${buildPath}course`;
const coursePath = `${buildPath}${options.coursedir}`;
const data = await fs.promises.readFile(`${coursePath}/config.json`);
if (!data) return done();
const config = JSON.parse(data.toString());
Expand Down

0 comments on commit a0b8813

Please sign in to comment.