Before: archlinuxaur-zzookeeper-HEAD After: archlinux-aur-z-zookeeper-HEAD
Signed-off-by: Cao Xueliang caoxl78320@163.com --- src/scheduler/pp_params.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scheduler/pp_params.cr b/src/scheduler/pp_params.cr index 28ec6ef..717f25b 100644 --- a/src/scheduler/pp_params.cr +++ b/src/scheduler/pp_params.cr @@ -51,8 +51,8 @@ class Job private def format_string(original_str) temp = [] of String original_str.each_char do |char| - if "#{char}" =~ /-|\w/ - temp << "#{char}" + if "#{char}" =~ /-|.|/|\w/ + temp << "#{char}".gusb("/", "-") end end
On Wed, Dec 02, 2020 at 08:56:40AM +0800, Cao Xueliang wrote:
Before: archlinuxaur-zzookeeper-HEAD After: archlinux-aur-z-zookeeper-HEAD
Signed-off-by: Cao Xueliang caoxl78320@163.com
src/scheduler/pp_params.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scheduler/pp_params.cr b/src/scheduler/pp_params.cr index 28ec6ef..717f25b 100644 --- a/src/scheduler/pp_params.cr +++ b/src/scheduler/pp_params.cr @@ -51,8 +51,8 @@ class Job private def format_string(original_str) temp = [] of String original_str.each_char do |char|
if "#{char}" =~ /-|\w/
temp << "#{char}"
if "#{char}" =~ /-|\.|\/|\w/
temp << "#{char}".gusb("\/", "-")
spell: gusb -> gsub
Thanks, Xijian
On Wed, Dec 02, 2020 at 10:02:34AM +0800, Xu Xijian wrote:
On Wed, Dec 02, 2020 at 08:56:40AM +0800, Cao Xueliang wrote:
Before: archlinuxaur-zzookeeper-HEAD After: archlinux-aur-z-zookeeper-HEAD
Signed-off-by: Cao Xueliang caoxl78320@163.com
src/scheduler/pp_params.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scheduler/pp_params.cr b/src/scheduler/pp_params.cr index 28ec6ef..717f25b 100644 --- a/src/scheduler/pp_params.cr +++ b/src/scheduler/pp_params.cr @@ -51,8 +51,8 @@ class Job private def format_string(original_str) temp = [] of String original_str.each_char do |char|
if "#{char}" =~ /-|\w/
temp << "#{char}"
if "#{char}" =~ /-|\.|\/|\w/
temp << "#{char}".gusb("\/", "-")
spell: gusb -> gsub
Good!
Thanks, Xueliang
Thanks, Xijian