Skip to content

Commit

Permalink
fixed the export maybe a function.
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Apr 6, 2018
1 parent 00cf1f4 commit 2a0b7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lib/get-object-value/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "get-object-value",
"version": "0.0.11",
"version": "0.0.12",
"description": "Get Object Value",
"repository": "react-atomic/react-atomic-organism",
"main": "./build/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/get-object-value/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const get = (o, path, defaultValue) => {
return current;
};

const getWebpack4Default = o => get(o, ['default', 'default'], () => get(o, ['default'], o) );
const getWebpack4Default = o => get(o, ['default', 'default'], () => get(o, ['default'], ()=>o) );

export default get;

Expand Down

0 comments on commit 2a0b7f0

Please sign in to comment.