From 7c60c6282af765b9060bdebd72ebf997e5e667b2 Mon Sep 17 00:00:00 2001 From: "C. T. Lin" Date: Tue, 27 Sep 2022 03:16:44 +0800 Subject: [PATCH] chore: simplify the import path of AxiosError (#4875) Co-authored-by: Jay --- lib/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/axios.js b/lib/axios.js index 4e62242..cae0311 100644 --- a/lib/axios.js +++ b/lib/axios.js @@ -11,7 +11,7 @@ import CancelToken from'./cancel/CancelToken.js'; import isCancel from'./cancel/isCancel.js'; import {VERSION} from './env/data.js'; import toFormData from './helpers/toFormData.js'; -import AxiosError from '../lib/core/AxiosError.js'; +import AxiosError from './core/AxiosError.js'; import spread from './helpers/spread.js'; import isAxiosError from './helpers/isAxiosError.js';