Skip to content

Commit

Permalink
Merge pull request #85 from CodinGame/make-parameter-optional
Browse files Browse the repository at this point in the history
Make parameter optional
  • Loading branch information
CGNonofr authored Mar 2, 2023
2 parents 97b429e + 9351d78 commit 98ecacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isPasteAction (handlerId: string, payload: unknown): payload is PastePa
export function lockCodeWithoutDecoration (
editor: monaco.editor.IStandaloneCodeEditor,
decorations: string[],
allowChangeFromSources: string[],
allowChangeFromSources: string[] = [],
errorMessage?: string
): () => void {
function displayLockedCodeError (position: monaco.Position) {
Expand Down

0 comments on commit 98ecacb

Please sign in to comment.