We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ccfeba commit 81c5515Copy full SHA for 81c5515
packages/mcl/src/src/mcl/commands/dev_commit.d
@@ -39,7 +39,7 @@ bool inGitIgnore(string file)
39
continue;
40
else if (globMatch(file, line))
41
return true;
42
- else if (file.startsWith(line.strip() ~ "/"))
+ else if (file.startsWith(line.strip ~ "/"))
43
44
}
45
return false;
@@ -48,7 +48,7 @@ bool inGitIgnore(string file)
48
void initGitDiff()
49
{
50
// auto status = execute("git diff --name-only -- cached", false).split("\n");
51
- auto status = dirEntries("", SpanMode.depth).map!(a => a.name).array
+ auto status = dirEntries("", SpanMode.depth).map!(a => a.name.strip).array
52
.filter!(a =>
53
!a.startsWith("node_modules") &&
54
!a.startsWith(".direnv") &&
0 commit comments