Skip to content

Commit

Permalink
Merge e0d143f into a55cf4a
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespencer committed Dec 14, 2016
2 parents a55cf4a + e0d143f commit 5c761b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"presets": [
"es2015",
"stage-2"
"stage-2",
["env", {
"debug": true,
"targets": {
"node": "current"
}
}]
],
"plugins": [
"transform-flow-strip-types"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"babel-cli": "^6.18.0",
"babel-eslint": "^7.1.0",
"babel-plugin-transform-flow-strip-types": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-env": "^1.1.1",
"babel-preset-stage-2": "^6.18.0",
"babel-register": "^6.18.0",
"chai": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Extractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Extractor {
config: Object;

constructor (props?: Object = {}) {
this.config = Object.assign({}, defaultConfig, props)
this.config = { ...defaultConfig, ...props }
}

extract (globPattern: string, _glob?: Function = glob): Promise<Object[]> {
Expand Down

0 comments on commit 5c761b7

Please sign in to comment.