Skip to content

Commit

Permalink
debug: repoint and add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodrig committed Mar 1, 2024
1 parent cbe0d6e commit 6fe534e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/json2csv.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict';

import { evaluatePath } from 'doc-path';
import { deepKeysFromList } from 'deeks';
import { deepKeysFromList } from '../../deeks/src/deeks';

Check failure on line 4 in src/json2csv.ts

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 18)

Unable to resolve path to module '../../deeks/src/deeks'

Check failure on line 4 in src/json2csv.ts

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 20)

Unable to resolve path to module '../../deeks/src/deeks'

Check failure on line 4 in src/json2csv.ts

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, 21)

Unable to resolve path to module '../../deeks/src/deeks'
//console.log('dont forget to fix import above');
import { excelBOM, errors } from './constants';
import * as utils from './utils';
import type { FullJson2CsvOptions, Json2CsvParams } from './types';
Expand Down Expand Up @@ -252,6 +253,7 @@ export const Json2Csv = function(options: FullJson2CsvOptions) {
});

const headerFields = retrieveHeaderFields(params.records);
console.log('HEADER FIELDS---------', headerFields);
params.headerFields = headerFields;

// If we were able to unwind more arrays, then try unwinding again...
Expand Down

0 comments on commit 6fe534e

Please sign in to comment.