Skip to content

Commit 0cc94ed

Browse files
author
Sefi Krausz
committed
changes to axios target
1 parent d4a2024 commit 0cc94ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/targets/node/axios.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module.exports = function (source, options) {
7878
if (includeFS) {
7979
code.unshift('const fs = require("fs");')
8080
}
81-
const formatedOptions = JSON.stringify(requestOptions).replace(/"{"/, `{
81+
const formatedOptions = JSON.stringify(requestOptions).replace(/{/, `{
8282
`)
8383
code.push(`axios(${
8484
formatedOptions

0 commit comments

Comments
 (0)