@mnci/cli 4.10.1 → 4.10.2

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.
package/dist/cli.js CHANGED
@@ -1758,7 +1758,7 @@ function withoutNxAgentRules(content) {
1758
1758
  if (end === -1) return void 0;
1759
1759
  const afterEnd = content.indexOf(">", end);
1760
1760
  const rest = afterEnd === -1 ? "" : content.slice(afterEnd + 1);
1761
- return `${content.slice(0, start)}${rest}`.replace(/^\n+/, "");
1761
+ return `${content.slice(0, start)}${rest}`.replace(/^[\r\n]+/, "");
1762
1762
  }
1763
1763
  function removeIfPresent(path) {
1764
1764
  (0, import_node_fs2.rmSync)(path, { recursive: true, force: true });