chore: prettier all codes (#10240)
This commit is contained in:
@@ -21,8 +21,8 @@ export function normalizePath(path: string): string {
|
||||
return path.replace(/\\/g, '/');
|
||||
}
|
||||
|
||||
// `default` `primary` -> ['default', 'primary']
|
||||
// `default` `primary` -> ['default', 'primary']
|
||||
export function formatOptions(options?: string) {
|
||||
if (!options) return []
|
||||
return options.replace(/`/g, '').split(' ')
|
||||
if (!options) return [];
|
||||
return options.replace(/`/g, '').split(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user