}
public static getInstance(): Bootstrap {
- if (!Bootstrap.instance) {
+ if (Bootstrap.instance === null) {
Bootstrap.instance = new Bootstrap();
}
return Bootstrap.instance;
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../'),
'assets',
'station-templates',
- path.basename(stationTemplateUrl.file)
+ stationTemplateUrl.file
),
};
await this.workerImplementation.addElement(workerData);