diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6dbb861..5952cce 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -34,8 +34,9 @@ jobs: - name: Commit & Push changes uses: actions-js/push@master with: - message: Update Documentation.md + message: 'Update Documentation.md' github_token: ${{ secrets.GH_TOKEN }} + branch: 'main' - name: Release env: diff --git a/trials/fixation.js b/trials/fixation.js index 64e27db..5ac4296 100644 --- a/trials/fixation.js +++ b/trials/fixation.js @@ -36,7 +36,7 @@ module.exports = function (config, options) { taskCode, numBlinks, buttons, - } = { defaults, ...options }; + } = { ...defaults, ...options }; let stimulus = '
'; diff --git a/trials/showImage.js b/trials/showImage.js index 012d544..ccf9e3a 100644 --- a/trials/showImage.js +++ b/trials/showImage.js @@ -41,7 +41,7 @@ module.exports = function (config, options) { responseEndsTrial, taskCode, numBlinks, - } = { defaults, ...options }; + } = { ...defaults, ...options }; return { type: responseType, diff --git a/trials/showMessage.js b/trials/showMessage.js index e2802eb..3a45ed8 100644 --- a/trials/showMessage.js +++ b/trials/showMessage.js @@ -42,7 +42,7 @@ module.exports = function (config, options) { taskCode, numBlinks, buttons, - } = { defaults, ...options }; + } = { ...defaults, ...options }; let stimulus = onstart ? baseStimulus(message) : baseStimulus(message, true); if (config.USE_PHOTODIODE) stimulus += photodiodeGhostBox(); diff --git a/trials/userId.js b/trials/userId.js index b9de95b..0be7c56 100644 --- a/trials/userId.js +++ b/trials/userId.js @@ -31,7 +31,7 @@ module.exports = function (jsPsych, config, options) { setIdMessage, responseEndsTrial, defaultPatientId, - } = { defaults, ...options }; + } = { ...defaults, ...options }; if (config.USE_MTURK) { return {