@supernova-studio/pulsar-core 1.0.31 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2336,14 +2336,14 @@ class PCExporter {
2336
2336
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
2337
2337
  // MARK: - Convenience
2338
2338
  sourceByIdIgnoringExecutableExtension(sourceId) {
2339
+ // Make sure everything is referenced with proper extension, even if we say inject blueprint without it
2339
2340
  if (sourceId.endsWith('.pr')) {
2340
- // Ignore extension and seek without it
2341
- return this.sourceById(sourceId.substr(0, sourceId.length - 3));
2342
- // TODO: Javascript ignore
2341
+ return this.sourceById(sourceId);
2343
2342
  }
2344
2343
  else {
2345
- return this.sourceById(sourceId);
2344
+ return this.sourceById(`${sourceId}.pr`);
2346
2345
  }
2346
+ // TODO: Javascript ignore
2347
2347
  }
2348
2348
  sourceById(sourceId) {
2349
2349
  var _a;