diff --git a/components/progress/index.jsx b/components/progress/index.jsx index a8e88064fe..8f8225fe89 100644 --- a/components/progress/index.jsx +++ b/components/progress/index.jsx @@ -53,7 +53,7 @@ let Line = React.createClass({ {props.percent}% ); } - }else { + } else { fullCls = ' ' + prefixCls + '-line-wrap-full'; } let percentStyle = { diff --git a/package.json b/package.json index ac211c18e4..1046808949 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "less-loader": "^2.2.0", "lodash": "^3.10.0", "nico-jsx": "~0.6.0", - "precommit-hook": "^1.0.7", + "pre-commit": "1.x", "react": "~0.14.1", "react-addons-test-utils": "~0.14.1", "react-dom": "~0.14.1", @@ -130,7 +130,7 @@ "testDirectoryName": "tests", "preprocessCachingDisabled": false }, - "precommit": [ + "pre-commit": [ "lint" ] }