Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
TINY-10394: Made logs argument optional for VersionLoader.setup
Browse files Browse the repository at this point in the history
  • Loading branch information
spocke committed Nov 24, 2023
1 parent 9fd1f15 commit b9671e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Removed support for TinyMCE 4.x. #TINY-10142

### Changed
- Made the VersionLoader.setup functions logs argument optional. #TINY-10394

## 5.0.1 - 2022-06-29

### Changed
Expand Down
4 changes: 2 additions & 2 deletions src/main/ts/api/VersionLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const setupVersion = (
settings: Record<string, any>,
success: SuccessCallback,
failure: FailureCallback,
logs: TestLogs
logs: TestLogs = TestLogs.init()
): void => {
const plugins = readPlugins(testPlugins);

Expand All @@ -42,4 +42,4 @@ export const sSetupVersion = <T, U>(version: string, testPlugins: string[], call
}, settings, next, die, initLogs)
);

export const sWithVersion = TinyVersions.sWithVersion;
export const sWithVersion = TinyVersions.sWithVersion;

0 comments on commit b9671e7

Please sign in to comment.