Skip to content

Commit

Permalink
工程::rocket: 校验 lint-staged 是否正确使用
Browse files Browse the repository at this point in the history
  • Loading branch information
iTonyYo committed Nov 6, 2018
1 parent 8705a77 commit d02eacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual-sort.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const manualSort = ({
data,
fromIndex,
toIndex,
}) => (new Promise((resolve, reject) => {
}) => new Promise((resolve, reject) => {
if (!isArray(data) || isEmpty(data)) {
reject(new Error('有效的数据是必须的'));
}
Expand Down Expand Up @@ -91,6 +91,6 @@ const manualSort = ({
}

resolve(removeIndex(sortedTemp));
}));
});

export default manualSort;

0 comments on commit d02eacc

Please sign in to comment.