Skip to content

Commit

Permalink
Revert "fix: explicitly require axios/dist/node/axios.cjs because `…
Browse files Browse the repository at this point in the history
…pkg` fails"

This reverts commit 41954e4.
  • Loading branch information
sjinks committed Nov 17, 2023
1 parent 41954e4 commit edc981c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/metrics.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const _ = require('lodash');
const axios = require('axios/dist/node/axios.cjs');
const axios = require('axios');
const cleanStack = require('clean-stacktrace');
const Log = require('./logger');
const path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion lib/scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Promise = require('./promise');
* via require when we new Lando()
*/
const requestClient = () => {
const axios = require('axios/dist/node/axios.cjs');
const axios = require('axios');
// @todo: is it ok to turn redirects off here?
// if we don't we get an error every time http tries to redirect to https
return axios.create({
Expand Down

0 comments on commit edc981c

Please sign in to comment.