Skip to content

Commit

Permalink
fix: add defaut value
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jul 29, 2024
1 parent 801d7fa commit f6f2505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service-override/workingCopy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface WorkingCopyServiceOptions {
storage: 'memory' | 'userData' | null
}

export default function getServiceOverride ({ storage }: WorkingCopyServiceOptions): IEditorOverrideServices {
export default function getServiceOverride ({ storage = 'userData' }: WorkingCopyServiceOptions): IEditorOverrideServices {
return {
...getFileServiceOverride(),
...(storage != null
Expand Down

0 comments on commit f6f2505

Please sign in to comment.