Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
influx-batch-sender
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
1
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
2017-09-26 15:22:36 +0800
Commit
238d3dc65bf7fe4786a8762ad90435d26b5b53ba
1 parent
74c4f43c
withQuote逻辑去掉int的i
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
index.js
index.js
View file @
238d3dc
...
...
@@ -169,7 +169,7 @@ class Sender extends EventEmitter {
}
}
else
if
(
_
.
isInteger
(
value
))
{
if
(
withQuote
)
{
value
=
value
+
'i'
;
value
=
value
;
}
}
else
if
(
_
.
isObject
(
value
))
{
value
=
'"'
+
_
.
replace
(
JSON
.
stringify
(
value
),
/"/g
,
'\\"'
)
+
'"'
;
...
...
陈峰
@chenfeng163
2017-09-26 07:46:04 UTC
mentioned in commit
92eca75b
Please
register
or
login
to post a comment