diff --git a/lib/migrations/20200321153000-fix-account-deletion.js b/lib/migrations/20200321153000-fix-account-deletion.js index 3b5a4224a..6e51f04cf 100644 --- a/lib/migrations/20200321153000-fix-account-deletion.js +++ b/lib/migrations/20200321153000-fix-account-deletion.js @@ -3,7 +3,7 @@ const { spawnSync } = require('child_process') const path = require('path') module.exports = { up: function (queryInterface, Sequelize) { - const cleanup = spawnSync('./bin/cleanup', { cwd: path.resolve(__dirname, '../../') }) + const cleanup = spawnSync(process.argv[0], ['./bin/cleanup'], { cwd: path.resolve(__dirname, '../../') }) if (cleanup.status !== 0) { throw new Error('Unable to cleanup') } diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md index 1ee59dae7..b2aa64d8a 100644 --- a/public/docs/release-notes.md +++ b/public/docs/release-notes.md @@ -2,6 +2,9 @@ ## 1.x.x UNRELEASED +### Enhancements +- Remove unexpected shell call during migrations + This release drops support for Node.js 12, as it has reached end-of-life.