@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.
- package/dist/index.js +3 -1
- 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
|
-
|
|
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) {
|