Skip to content

Commit

Permalink
Merge 831f472 into a52842c
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkuttappan authored Jul 16, 2024
2 parents a52842c + 831f472 commit cba050a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<PackAsTool>true</PackAsTool>
<ToolCommandName>CSharpAPIParserForAPIView</ToolCommandName>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>CSharpAPIParser</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ static async Task HandlePackageFileParsing(Stream stream, FileInfo packageFilePa
return;
}

var parsedFileName = string.IsNullOrEmpty(outputFileName) ? assemblySymbol.Name : outputFileName;
var parsedFileName = string.IsNullOrEmpty(outputFileName) ? $"{assemblySymbol.Name}.json.tgz" : Path.GetFileName(outputFileName);
var treeTokenCodeFile = new CSharpAPIParser.TreeToken.CodeFileBuilder().Build(assemblySymbol, runAnalysis, dependencies);
var gzipJsonTokenFilePath = Path.Combine(OutputDirectory.FullName, $"{parsedFileName}.json.tgz");
var gzipJsonTokenFilePath = Path.Combine(OutputDirectory.FullName, parsedFileName);


var options = new JsonSerializerOptions()
Expand Down

0 comments on commit cba050a

Please sign in to comment.