double qutes eslint rule
This commit is contained in:
1 parent
2e517cc7f7
commit
85bc8c4af5
57 files changed
+370
-366
No files matched your search
+2
-2
@@ -4,10 +4,10 @@ export function isPartOfPath(part: string, path: string): boolean {
|
||||
|
||||
export function queryList(key: string, values: string[]): string {
|
||||
if (values.length === 0) {
|
||||
return ''
|
||||
return ""
|
||||
}
|
||||
|
||||
return values
|
||||
.map(value => `${key}=${value}`)
|
||||
.join('&')
|
||||
.join("&")
|
||||
}
|
||||
Reference in new issue
Block a user