Skip to content

Commit

Permalink
fix: remove axios headers
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonConger committed Jul 12, 2023
1 parent e7c61cd commit 6fcc0a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions out/notebooks/spl2/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export async function installMissingSpl2Requirements(context: ExtensionContext,
}
if (javaLoc && lspVersion) {
// Already set up, no need to continue
// TODO: makre sure the jar files are still in the expected location
resolve(false);
}
// Setup local storage directory for downloads and installs
Expand Down Expand Up @@ -348,8 +349,8 @@ async function downloadWithProgress(
responseType: 'stream',
transformRequest: (data, headers) => {
// Override defaults set elsewhere for splunkd communication
delete headers.common['Authorization'];
delete headers.common['Accept'];
delete headers['Authorization'];
delete headers['Accept'];
return data;
},
});
Expand Down

0 comments on commit 6fcc0a4

Please sign in to comment.