Skip to content

Commit

Permalink
🎨 Update npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Apr 28, 2018
1 parent b778d03 commit 8423c22
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ package-lock.json

# adodb src file
/lib/adodb/

# rollup configuration
/rollup.js
8 changes: 6 additions & 2 deletions lib/adodb/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ if (typeof JSON !== 'object') {
v =
partial.length === 0
? '[]'
: gap ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' : '[' + partial.join(',') + ']';
: gap
? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']'
: '[' + partial.join(',') + ']';
gap = mind;

return v;
Expand Down Expand Up @@ -316,7 +318,9 @@ if (typeof JSON !== 'object') {
v =
partial.length === 0
? '{}'
: gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : '{' + partial.join(',') + '}';
: gap
? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}'
: '{' + partial.join(',') + '}';
gap = mind;

return v;
Expand Down
1 change: 1 addition & 0 deletions lib/spawn.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,5 @@ const spawn = function(command, args, input, options) {
});
};

// Exports
module.exports = spawn;

0 comments on commit 8423c22

Please sign in to comment.