We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991e31a commit 344593eCopy full SHA for 344593e
src/modules/flightlog.js
@@ -9,7 +9,7 @@ export function exportFlightLogToCSVs(flightLog) {
9
}
10
11
for (let flightLogSection of flightLogSections) {
12
- fs.writeFile(`${flightLogDir}/${flightLogSection}.csv`, objectArrayToCSV(flightLog.imu), "utf8", function (err) {
+ fs.writeFile(`${flightLogDir}/${flightLogSection}.csv`, objectArrayToCSV(flightLog[flightLogSection]), "utf8", function (err) {
13
if (err) {
14
console.log("An error occurred while writing CSV object to file.");
15
return console.log(err);
0 commit comments