Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions grunt/tasks/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ module.exports = function(grunt) {
await migrations.migrate({ journal, logger });

// Todo - {
// display changes success/failure and request user confirmation before completing
// move saving of content outside of the language loop
// only 1 confirmation per course rather than 1 per language
// output journal entries for revert
// display changes success/failure and request user confirmation before completing
// move saving of content outside of the language loop
// only 1 confirmation per course rather than 1 per language
// output journal entries for revert
// }

// group all content items by path
Expand Down Expand Up @@ -147,12 +147,8 @@ module.exports = function(grunt) {
return next();
}

if (mode === 'revert') {

}

if (mode === 'test') {
await migrations.test();
await migrations.test({ logger });
return next();
}

Expand Down
Loading