closer-cli 2.37.0 → 2.40.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.39.0](https://code.hfarm.dev/closer/closer/compare/v2.38.0...v2.39.0) (2022-11-23)
7
+
8
+ **Note:** Version bump only for package closer-cli
9
+
10
+
11
+
12
+
13
+
14
+ # [2.38.0](https://code.hfarm.dev/closer/closer/compare/v2.37.1...v2.38.0) (2022-11-17)
15
+
16
+ **Note:** Version bump only for package closer-cli
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.37.1](https://code.hfarm.dev/closer/closer/compare/v2.37.0...v2.37.1) (2022-11-14)
23
+
24
+ **Note:** Version bump only for package closer-cli
25
+
26
+
27
+
28
+
29
+
6
30
  # [2.37.0](https://code.hfarm.dev/closer/closer/compare/v2.36.1...v2.37.0) (2022-11-14)
7
31
 
8
32
 
@@ -176,7 +176,7 @@ export async function handler(argv) {
176
176
  const validations = []
177
177
  const csvReports = []
178
178
 
179
- let parsedFiles = [...files]
179
+ const parsedFiles = []
180
180
 
181
181
  if (!existsSync(dirPathFinal) && !existsSync(dirPathOriginal)) {
182
182
  mkdirSync(dirPathOriginal, { recursive: true })
@@ -187,7 +187,6 @@ export async function handler(argv) {
187
187
  }
188
188
 
189
189
  if (argv.fromGoogleDocId) {
190
- parsedFiles = []
191
190
  console.log('')
192
191
  spinner.start('Downloading Google sheets...')
193
192
  for (const item of files) {
@@ -201,7 +200,6 @@ export async function handler(argv) {
201
200
  spinner.succeed('Google sheets downloaded')
202
201
  } else {
203
202
  for (const file of files) {
204
- parsedFiles = []
205
203
  const dst = path.resolve(dirPathOriginal, `${importProcess.name}_${file.csvType}.csv`)
206
204
  await mv(file.file, dst)
207
205
  parsedFiles.push({ file: dst, csvType: file.csvType })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "closer-cli",
3
- "version": "2.37.0",
3
+ "version": "2.40.0",
4
4
  "description": "",
5
5
  "exports": "./index.js",
6
6
  "type": "module",