generated from nhcarrigan/template
fix: versions
This commit is contained in:
@@ -47,7 +47,7 @@ const isValidSemverRange = (version: string): boolean => {
|
||||
* @returns The cleaned version string.
|
||||
*/
|
||||
const cleanVersion = (version: string): string => {
|
||||
return version.replace(/^[<=>^~]/, "");
|
||||
return version.replace(/^[<=>^~]+/, "");
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user