ソースを参照

synapse workers-doc-to-yaml.awk: escape slash for non-gnu awk versions

pull/456/head
Marcel Partap 5年前
コミット
3156d96619
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      roles/matrix-synapse/files/workers-doc-to-yaml.awk

+ 1
- 1
roles/matrix-synapse/files/workers-doc-to-yaml.awk ファイルの表示

@@ -13,7 +13,7 @@ function worker_stanza_append(string) {


function line_is_endpoint_url(line) { function line_is_endpoint_url(line) {
# probably API endpoint if it starts with white-space and ^ or / # probably API endpoint if it starts with white-space and ^ or /
return (line ~ /^ +[\^/].*\//)
return (line ~ /^ +[\^\/].*\//)
} }


# Put YAML marker at beginning of file. # Put YAML marker at beginning of file.


読み込み中…
キャンセル
保存