Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jul 12, 2024
1 parent 17d9ddc commit 2ad6639
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ module.exports = Object.assign({}, sharedConfigs, {
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
}),
plugins: [...(sharedConfigs.plugins ?? []), '@typescript-eslint'],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function AuthoringDirective(
/**
* Create a new version
*/
$scope.save = function({reloadEditor3: reloadEditor3 = false}) {
$scope.save = function({reloadEditor3 = false} = {}) {
return authoring.save(
$scope.origItem,
$scope.item,
Expand Down

0 comments on commit 2ad6639

Please sign in to comment.