Changeset 0c6b92a for imaps-frontend/node_modules/axios/lib/core/Axios.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/axios/lib/core/Axios.js
rd565449 r0c6b92a 41 41 } catch (err) { 42 42 if (err instanceof Error) { 43 let dummy ;44 45 Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());43 let dummy = {}; 44 45 Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error()); 46 46 47 47 // slice off the Error: ... line … … 98 98 } 99 99 100 validator.assertOptions(config, { 101 baseUrl: validators.spelling('baseURL'), 102 withXsrfToken: validators.spelling('withXSRFToken') 103 }, true); 104 100 105 // Set config.method 101 106 config.method = (config.method || this.defaults.method || 'get').toLowerCase();
Note:
See TracChangeset
for help on using the changeset viewer.