Only wrap strings in quotes
This commit is contained in:
parent
b80448b2b2
commit
49915cb7a2
2 changed files with 6 additions and 2 deletions
|
@ -31,7 +31,11 @@ class common extends utils {
|
|||
}
|
||||
|
||||
static quote (s) {
|
||||
return `'${jsesc(s)}'`
|
||||
if (typeof s === 'string') {
|
||||
return `'${jsesc(s)}'`
|
||||
} else {
|
||||
return jsesc(s)
|
||||
}
|
||||
}
|
||||
|
||||
static b64encode (str) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mozillasecurity/octo",
|
||||
"version": "1.0.13",
|
||||
"version": "1.0.14",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"fuzzing",
|
||||
|
|
Loading…
Reference in a new issue