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) {
|
static quote (s) {
|
||||||
|
if (typeof s === 'string') {
|
||||||
return `'${jsesc(s)}'`
|
return `'${jsesc(s)}'`
|
||||||
|
} else {
|
||||||
|
return jsesc(s)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static b64encode (str) {
|
static b64encode (str) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mozillasecurity/octo",
|
"name": "@mozillasecurity/octo",
|
||||||
"version": "1.0.13",
|
"version": "1.0.14",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"fuzzing",
|
"fuzzing",
|
||||||
|
|
Loading…
Reference in a new issue