pull/5370/head
filip mertens 2 years ago committed by Aniket
parent 5d3e4e1aea
commit 5beac7a6b7
  1. 1
      libs/remix-core-plugin/src/lib/compiler-content-imports.ts
  2. 1
      libs/remix-url-resolver/src/resolve.ts

@ -123,7 +123,6 @@ export class CompilerImports extends Plugin {
* @returns {Promise} - string content
*/
async resolveAndSave (url, targetPath) {
console.log('resolveAndSave', url, targetPath)
try {
if (targetPath && this.currentRequest) {
const canCall = await this.askUserPermission('resolveAndSave', 'This action will update the path ' + targetPath)

@ -131,7 +131,6 @@ export class RemixURLResolver {
// eslint-disable-next-line no-useless-catch
try {
const req = 'https://unpkg.com/' + url
console.log('AXIOS VERSION', axios.VERSION)
const response: AxiosResponse = await axios.get(req, { transformResponse: [] })
return { content: response.data, cleanUrl: url }
} catch (e) {

Loading…
Cancel
Save