mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-22 11:29:28 +08:00
Vidya reddy/prettier code (#203)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export function createInlineArray(str: string | string[]): string {
|
||||
if (typeof str === "string") {
|
||||
return str;
|
||||
}
|
||||
return str.join(",");
|
||||
}
|
||||
export function createInlineArray(str: string | string[]): string {
|
||||
if (typeof str === 'string') {
|
||||
return str
|
||||
}
|
||||
return str.join(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user