@fuzzle/opencode-accountant 0.13.12-next.1 → 0.13.12
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 +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17015,9 +17015,8 @@ function moveCsvToDone(csvFile, pendingDir, doneDir) {
|
|
|
17015
17015
|
const destPath = path2.join(doneDir, relativePath);
|
|
17016
17016
|
ensureDirectory(path2.dirname(destPath));
|
|
17017
17017
|
fs3.renameSync(csvFile, destPath);
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
const originalCsv = csvFile.replace(new RegExp(`${suffix.replace(".", "\\.")}$`), ".csv");
|
|
17018
|
+
if (csvFile.endsWith("-filtered.csv")) {
|
|
17019
|
+
const originalCsv = csvFile.replace(/-filtered\.csv$/, ".csv");
|
|
17021
17020
|
if (fs3.existsSync(originalCsv)) {
|
|
17022
17021
|
const originalRelative = path2.relative(pendingDir, originalCsv);
|
|
17023
17022
|
const originalDest = path2.join(doneDir, originalRelative);
|
package/package.json
CHANGED