Skip to content

Commit 2abf9a2

Browse files
committed
Fix up argument used
1 parent b7c457b commit 2abf9a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/GlobalTool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Options:
3737
--use-source-link Specifies whether to use SourceLink URIs in place of file system paths.
3838
--does-not-return-attribute Attributes that mark methods that do not return.
3939
--exclude-assemblies-without-sources Specifies behaviour of heuristic to ignore assemblies with missing source documents.
40-
--use-mapping-file Specifies the path to a SourceRootsMappings file.
40+
--source-mapping-file Specifies the path to a SourceRootsMappings file.
4141
--version Show version information
4242
-?, -h, --help Show help and usage information
4343
```

test/coverlet.integration.tests/DotnetTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void StandAlonePathMapping()
135135
{
136136
$"|{clonedTemplateProject.ProjectRootPath}{Path.DirectorySeparatorChar}=/_/"
137137
});
138-
RunCommand(coverletToolCommandPath, $"\"{publishedTestFile}\" --target \"dotnet\" --targetargs \"test {Path.Combine(clonedTemplateProject.ProjectRootPath, ClonedTemplateProject.ProjectFileName)} --no-build\" --include-test-assembly --output \"{clonedTemplateProject.ProjectRootPath}\"{Path.DirectorySeparatorChar} --use-mapping-file \"{mappingFile}\"", out standardOutput, out standardError);
138+
RunCommand(coverletToolCommandPath, $"\"{publishedTestFile}\" --target \"dotnet\" --targetargs \"test {Path.Combine(clonedTemplateProject.ProjectRootPath, ClonedTemplateProject.ProjectFileName)} --no-build\" --include-test-assembly --output \"{clonedTemplateProject.ProjectRootPath}\"{Path.DirectorySeparatorChar} --source-mapping-file \"{mappingFile}\"", out standardOutput, out standardError);
139139
if (!string.IsNullOrEmpty(standardError))
140140
{
141141
_output.WriteLine(standardError);

0 commit comments

Comments
 (0)