lunel-cli 0.1.31 → 0.1.32

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -396,7 +396,9 @@ async function handleGitStatus() {
396
396
  const branch = branchResult.stdout.trim();
397
397
  // Get status
398
398
  const statusResult = await runGit(["status", "--porcelain", "-uall"]);
399
- const lines = statusResult.stdout.trim().split("\n").filter(Boolean);
399
+ // Preserve leading whitespace in each porcelain line.
400
+ // Example: " M file" (unstaged-only) starts with a space that is semantically important.
401
+ const lines = statusResult.stdout.split(/\r?\n/).filter((line) => line.length > 0);
400
402
  const staged = [];
401
403
  const unstaged = [];
402
404
  const untracked = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lunel-cli",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "author": [
5
5
  {
6
6
  "name": "Soham Bharambe",