Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Bump up System.Commandline API to v2.0.0-beta4.22272.1#959

Merged
MaggieKimani1 merged 6 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/upgrade-system-commandlinemicrosoft/OpenAPI.NET:mk/upgrade-system-commandlineCopy head branch name to clipboard
Aug 4, 2022
Merged

Bump up System.Commandline API to v2.0.0-beta4.22272.1#959
MaggieKimani1 merged 6 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/upgrade-system-commandlinemicrosoft/OpenAPI.NET:mk/upgrade-system-commandlineCopy head branch name to clipboard

Conversation

@MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Aug 1, 2022

Resolves #888
Should fix #900

Comment on lines +61 to +70
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, ex.Message);
throw; // so debug tools go straight to the source of the exception when attached
#else
logger.LogCritical( ex.Message);
return 1;
#endif
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
Comment on lines 36 to 46
catch (Exception ex)
{
#if DEBUG
logger.LogCritical(ex, ex.Message);
throw; // so debug tools go straight to the source of the exception when attached
#else
logger.LogCritical( ex.Message);
Environment.Exit(1);
return 1;
#endif
}

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
Comment on lines 215 to +218
@@ -253,13 +244,12 @@ private static Stream ApplyFilter(string csdl, string entitySetOrSingleton, XslC
/// <summary>
/// Implementation of the validate command

Check notice

Code scanning / CodeQL

Generic catch clause

Generic catch clause.
src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hidi returns exit code 0 even when failing on mac

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.