Skip to content

Commit 5c853ab

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

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(/{/g, `{
8282
`)
8383
code.push(`axios(${
8484
formatedOptions

0 commit comments

Comments
 (0)