forked from sombochea/verdaccio-ui
fix: there can be no spaces between scope and registry (#34)
This commit is contained in:
parent
6f108370ce
commit
cc30d0b249
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user