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 33d2591 commit 2cc0fd2Copy full SHA for 2cc0fd2
src/linker/Linker/Driver.cs
@@ -809,11 +809,10 @@ protected bool AddCustomStep (Pipeline pipeline, string arg)
809
if (!TryGetCustomAssembly (ref arg, out Assembly custom_assembly))
810
return false;
811
812
- int pos = arg.IndexOf (":");
813
string customStepName;
814
string targetName = null;
815
bool before = false;
816
- if (pos == -1) {
+ if (!arg.Contains (":")) {
817
customStepName = arg;
818
} else {
819
string[] parts = arg.Split (':');
0 commit comments