Skip to content

Commit

Permalink
Fix whitespace package :(
Browse files Browse the repository at this point in the history
  • Loading branch information
danbickford007 committed Feb 25, 2017
1 parent 59d50a4 commit e22ea81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/generateDependencies.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"grunt-exec": "^1.0.1",
"load-grunt-tasks": "^3.5.2"
},
"version": "0.1.4",
"version": "0.1.5",
"main": "Gruntfile.js",
"scripts": {
"test": "mocha"
Expand Down
2 changes: 1 addition & 1 deletion src/generateDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const generateDependencies = (packages) => {
let packageJsonFile = './node_modules/' + dir + '/package.json'
if (fs.existsSync(packageJsonFile)) {
let json = JSON.parse(fs.readFileSync(packageJsonFile))
let comma = index < packages.length - 1 ? '", \n' : '"\n'
let comma = index < packages.length - 1 ? '",\n' : '"\n'
finalData = finalData + ` "${json.name}": "${json.version}${comma}`
}
}
Expand Down

0 comments on commit e22ea81

Please sign in to comment.