@stoneforge/quarry 1.0.1 → 1.0.3

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.
@@ -3391,7 +3391,7 @@ export class QuarryAPIImpl {
3391
3391
  details: `Resolved via ${c.resolution}`,
3392
3392
  }));
3393
3393
  // Convert errors to string format
3394
- const errors = syncResult.errors.map((e) => `${e.file}:${e.line}: ${e.message}${e.content ? ` (${e.content.substring(0, 50)}...)` : ''}`);
3394
+ const errors = syncResult.errors.map((e) => `${e.file}${e.line != null ? `:${e.line}` : ''}: ${e.message}${e.content ? ` (${e.content.substring(0, 50)}...)` : ''}`);
3395
3395
  return {
3396
3396
  success: syncResult.errors.length === 0,
3397
3397
  elementsImported: syncResult.elementsImported,