The output file is overwritten if multiple files are passed as arguments to the program, the output file contains response for the last processed file.
Steps to Reproduce:
Run following command:
npm start run python ./examples/main.cpp ./examples/index.js -- -o test.py
Output file only contains response for index.js, response for main.cpp is overwritten in the output file.
Expected Ouput:
The data received from processing the first file should not be lost. The data should be appended instead of being overwritten.
Description:
The output file is overwritten if multiple files are passed as arguments to the program, the output file contains response for the last processed file.
Steps to Reproduce:
index.js
, response formain.cpp
is overwritten in the output file.Expected Ouput:
The data received from processing the first file should not be lost. The data should be appended instead of being overwritten.