Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82dfccc

Browse files
committedOct 22, 2019
fix: use Axios for isCancel (fixes #301)
1 parent 153f181 commit 82dfccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/plugin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const setupProgress = (axios, ctx) => {
135135

136136
currentRequests--
137137

138-
if (axios.isCancel(error)) {
138+
if (Axios.isCancel(error)) {
139139
return
140140
}
141141

0 commit comments

Comments
 (0)
Please sign in to comment.