Skip to content

Commit ec34096

Browse files
committed
fix(settings): Fix settings placeholder. for s3 config.
1 parent cf5228b commit ec34096

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,9 @@ export default class InvioPlugin extends Plugin {
11361136
cloneDeep(DEFAULT_SETTINGS),
11371137
messyConfigToNormal(rawConf)
11381138
);
1139+
if (!this.settings.s3) {
1140+
this.settings.s3 = DEFAULT_SETTINGS.s3
1141+
}
11391142
if (this.settings.s3.partsConcurrency === undefined) {
11401143
this.settings.s3.partsConcurrency = 20;
11411144
}

0 commit comments

Comments
 (0)