@afoures/auto-release 0.2.6 → 0.2.7
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/lib/utils/git.mjs +1 -1
- package/package.json +1 -1
package/dist/lib/utils/git.mjs
CHANGED
|
@@ -12,7 +12,7 @@ async function diff(cwd) {
|
|
|
12
12
|
const { stdout: status_output } = await exec("git status --porcelain", cwd ? { cwd } : void 0);
|
|
13
13
|
if (!status_output.trim()) return [];
|
|
14
14
|
const operations = [];
|
|
15
|
-
const lines = status_output.
|
|
15
|
+
const lines = status_output.split("\n");
|
|
16
16
|
for (const line of lines) {
|
|
17
17
|
if (!line.trim()) continue;
|
|
18
18
|
const status = line.substring(0, 2);
|