don't append line ending to the output, this causes breaks when compile commands are long and came in different stdout handlers (#624)

This commit is contained in:
Garrett Campbell 2024-07-26 12:47:08 -04:00 коммит произвёл GitHub
Родитель c2e34ad644
Коммит 6224c5f04d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 3 добавлений и 2 удалений

2
.vscode/launch.json поставляемый
Просмотреть файл

@ -9,7 +9,7 @@
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/**/*.js"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"env": {
"MAKEFILE_TOOLS_TESTING": "1",
"WindowsSDKVersion": "12.3.45678.9\\",

Просмотреть файл

@ -11,6 +11,7 @@ Bug Fixes:
- Fix issue where simply clicking on tree item was opening launch target selection. [#588](https://github.com/microsoft/vscode-makefile-tools/issues/588)
- Fix issue where selecting "Default" from the configuration drop down doesn't update Makefile Project Outline [#585](https://github.com/microsoft/vscode-makefile-tools/issues/585)
- Fix issue where CHS and CHT wasn't being localized on Linux. [#609](https://github.com/microsoft/vscode-makefile-tools/issues/609)
- Fix issue where line endings were being added in the output which broke long compile commands from output of make.exe. [#545](https://github.com/microsoft/vscode-makefile-tools/issues/545)
## 0.9

Просмотреть файл

@ -728,7 +728,7 @@ export async function generateParseContent(
let heartBeat: number = Date.now();
let stdout: any = (result: string): void => {
const appendStr: string = `${result} ${lineEnding}`;
const appendStr: string = `${result}`;
completeOutput += appendStr;
fs.appendFileSync(dryrunFile, appendStr);