Skip to content

Commit

Permalink
fix: use Axios for isCancel (fixes #301)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 22, 2019
1 parent 153f181 commit 82dfccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const setupProgress = (axios, ctx) => {

currentRequests--

if (axios.isCancel(error)) {
if (Axios.isCancel(error)) {
return
}

Expand Down

0 comments on commit 82dfccc

Please sign in to comment.