-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix merge bug in Linux when only pass file name without path #2408
Conversation
@@ -273,7 +273,7 @@ private async Task<bool> FindFilesAsync() | |||
|
|||
if (directory.Length == 0) | |||
{ | |||
directory = @".\"; | |||
directory = Directory.GetCurrentDirectory(); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a quick update that
will update the azure pipeline and add ubuntu-latest for this pr to see how the tests run in Linux. #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
able to add azure pipeline to also run test in Linux
but I found it does not even build before run unit test,
I think the Powershell script we have have the syntax for window only, I will check and fix issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, also fixed the build in macos so tests can see how the test run in macos as well
…com/microsoft/sarif-sdk into users/shaopeng-gh/mergeissueinlinux
…com/microsoft/sarif-sdk into users/shaopeng-gh/mergeissueinlinux
…com/microsoft/sarif-sdk into users/shaopeng-gh/mergeissueinlinux
jobs: | ||
- job: NET_pipeline | ||
strategy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider adding "maxParallel" to reduce overall build time #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
…RelativeWithTrailingSlash
<None Remove="TestData\ValidateCommand\Configuration.xml" /> | ||
<None Remove="TestData\ValidateCommand\ValidateSarifOneZeroZero.sarif" /> | ||
<None Remove="xunit.runner.json" /> | ||
</ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
Why did this release note get deleted? Let's restore it. In reply to: 1042368013 In reply to: 1042368013 In reply to: 1042368013 Refers to: src/ReleaseHistory.md:10 in 6f84064. [](commit_id = 6f84064, deletion_comment = True) |
(@"\\hostname/path\file.ext", expectedResult), | ||
(@"file:///C:\path/file.ext", expectedResult), | ||
(@"\\hostname/c:\path\file.ext", expectedResult), | ||
(@"\home\username/path/file.ext", expectedResult), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
not an issue was looking at old version In reply to: 1042368013 Refers to: src/ReleaseHistory.md:10 in 6f84064. [](commit_id = 6f84064, deletion_comment = True) |
Description:
merge bug in Linux when only pass file name, like this command:
merge --force --merge-runs --output-directory=result/ --output-file=MergeResult.sarif FileNameOnly.sarif
Fixes: