Skip to content

Commit 28a4a9d

Browse files
committed
CLI: Fixed an issue where paths passed via the CLI ending with "/" wouldn't scan correctly
1 parent 8a4d42f commit 28a4a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Validator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ class ValidatorMasterProcess : public ChildProcessMaster
623623
for (auto fileOrID : fileOrIDsToValidate)
624624
{
625625
jassert (fileOrID.isNotEmpty());
626-
v.appendChild ({ IDs::PLUGIN, {{ IDs::fileOrID, fileOrID }} }, nullptr);
626+
v.appendChild ({ IDs::PLUGIN, {{ IDs::fileOrID, fileOrID.trimCharactersAtEnd ("\\/") }} }, nullptr);
627627
}
628628

629629
sendValueTreeToSlave (v);

0 commit comments

Comments
 (0)