fix: there can be no spaces between scope and registry (#34)

This commit is contained in:
Liming Jin 2019-04-14 06:17:21 +08:00 committed by Juan Picado @jotadeveloper
parent 6f108370ce
commit cc30d0b249

View File

@ -21,7 +21,7 @@ export const copyToClipBoardUtility = (str: string) => (event: SyntheticEvent<HT
}; };
export function getCLISetConfigRegistry(command: string, scope: string, registryUrl: string): string { export function getCLISetConfigRegistry(command: string, scope: string, registryUrl: string): string {
return `${command} ${scope} registry ${registryUrl}`; return `${command} ${scope}registry ${registryUrl}`;
} }
export function getCLISetRegistry(command: string, registryUrl: string): string { export function getCLISetRegistry(command: string, registryUrl: string): string {