Skip to content

Commit 314b255

Browse files
committed
remove no longer needed nullish check
1 parent c813ae2 commit 314b255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsEngine/api/Internal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export class InternalAPI {
264264
* Runs all startup scripts defined in the plugins settings.
265265
*/
266266
public async executeStartupScripts(): Promise<void> {
267-
for (const script of this.apiInstance.plugin.settings.startupScripts ?? []) {
267+
for (const script of this.apiInstance.plugin.settings.startupScripts) {
268268
await this.executeFileSimple(script);
269269
}
270270
}

0 commit comments

Comments
 (0)