Skip to content

Commit 4f71479

Browse files
committed
fix: use Axios for isCancel (fixes #301)
1 parent 6a146b3 commit 4f71479

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)