@devicecloud.dev/dcd 3.4.3 → 3.4.4

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.
@@ -59,7 +59,9 @@ const readTestYamlFileAsJson = (filePath) => {
59
59
  try {
60
60
  const normalizedPath = path.normalize(filePath);
61
61
  const yamlText = fs.readFileSync(normalizedPath, 'utf8');
62
- const normalizedText = yamlText.replaceAll('\r\n', '\n');
62
+ const normalizedText = yamlText
63
+ .replaceAll('\r\n', '\n')
64
+ .replaceAll(/\n---[ \t]*\n/g, '\n---\n');
63
65
  if (normalizedText.includes('\n---\n')) {
64
66
  const yamlTexts = normalizedText.split('\n---\n');
65
67
  const config = yaml.load(yamlTexts[0]);
@@ -416,5 +416,5 @@
416
416
  ]
417
417
  }
418
418
  },
419
- "version": "3.4.3"
419
+ "version": "3.4.4"
420
420
  }
package/package.json CHANGED
@@ -80,7 +80,7 @@
80
80
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
81
81
  "version": "oclif readme && git add README.md"
82
82
  },
83
- "version": "3.4.3",
83
+ "version": "3.4.4",
84
84
  "bugs": {
85
85
  "url": "https://discord.gg/gm3mJwcNw8"
86
86
  },