Skip to content

Commit

Permalink
Merge bbf36d1 into a44802e
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-jain-94 committed Nov 8, 2019
2 parents a44802e + bbf36d1 commit 818c18e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@
- Merge all the `CSV` files, convert it to `JSON` object, assign it to a `JSON field` an then store it in a `JSON` file.
- Merge all the `CSV` files, convert it to `JSON` with every object *keyedBy* a `JSON` field and then store it to a `JSON` file.
- Merge all the `CSV` files, convert it to `JSON` with every object *keyedBy* a `JSON` field, assign the object to a `JSON` field and then store it to a `JSON` file.

## v1.0.1

#### :bug: Bug Fixes

- Removed the code which was trying to read a file which didn't existed, a junk which creeped during the development cycle.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/nishant-jain-94/merge-convert-csv-to-json.svg?branch=master)](https://travis-ci.org/nishant-jain-94/merge-convert-csv-to-json) [![Coverage Status](https://coveralls.io/repos/github/nishant-jain-94/merge-convert-csv-to-json/badge.svg?branch=master)](https://coveralls.io/github/nishant-jain-94/merge-convert-csv-to-json?branch=master)

# merge-convert-csv-to-json v1.0.0
# merge-convert-csv-to-json

Merges all the csv files and converts it to json.

Expand Down
2 changes: 0 additions & 2 deletions lib/merge-convert-csv-to-json.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const async = require('async');
const glob = require('glob');
const fs = require('fs');

const { keyBy } = require('./keyBy');
const { getLogger } = require('./logger');
Expand Down Expand Up @@ -32,7 +31,6 @@ const mergeConvertCsv2Json = (options) => {
if (err) {
log.error(err);
} else {
console.log(fs.readFileSync('/tmp/merged.users.json', 'utf8'));
log.info(`Files with pattern ${options.pattern} merged and convert to json at ${options.outputTo}`);
}
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "merge-convert-csv-to-json",
"version": "1.0.0",
"version": "1.0.1",
"description": "Merges all the csv files and converts it to json ",
"main": "bin/merge-convert.js",
"author": "Nishant Jain",
Expand Down

0 comments on commit 818c18e

Please sign in to comment.