@fuzzle/opencode-accountant 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17446,7 +17446,9 @@ function detectProvider(filename, content, config2) {
17446
17446
  continue;
17447
17447
  }
17448
17448
  const actualHeader = normalizeHeader(fields);
17449
- if (actualHeader !== rule.header) {
17449
+ const ruleHeaderSep = delimiter !== "," && rule.header.includes(delimiter) ? delimiter : ",";
17450
+ const expectedHeader = normalizeHeader(rule.header.split(ruleHeaderSep));
17451
+ if (actualHeader !== expectedHeader) {
17450
17452
  continue;
17451
17453
  }
17452
17454
  if (!firstRow) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuzzle/opencode-accountant",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "An OpenCode accounting agent, specialized in double-entry-bookkepping with hledger",
5
5
  "author": {
6
6
  "name": "ali bengali",