Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add await
  • Loading branch information
praveenkuttappan committed Jul 16, 2024
commit 0e36767d1fa593463c6729bb87b709aca048097f
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static async Task HandlePackageFileParsing(Stream stream, FileInfo packageFilePa
await using FileStream gzipFileStream = new FileStream(gzipJsonTokenFilePath, FileMode.Create, FileAccess.Write);
await using GZipStream gZipStream = new GZipStream(gzipFileStream, CompressionLevel.Optimal);
JsonSerializer.Serialize(new Utf8JsonWriter(gZipStream, new JsonWriterOptions { Indented = false }), treeTokenCodeFile, options);

await Task.Delay(1000);
Console.WriteLine($"TokenCodeFile File {gzipJsonTokenFilePath} Generated Successfully.");
Console.WriteLine();
}
Expand Down