mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 12:04:20 +08:00
Excape more regexes
This commit is contained in:
parent
acccc9e837
commit
60ad9e1cdd
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent do
|
|||
|
||||
example_dir =
|
||||
"lb-server-#{hub_name}-#{deployment_group_name}"
|
||||
|> String.replace(~r/[^\w-]/, "")
|
||||
|> String.replace(~r/[^\w\-]/, "")
|
||||
|> String.downcase()
|
||||
|
||||
%{
|
||||
|
|
Loading…
Add table
Reference in a new issue