Skip to content

Commit

Permalink
Merge pull request #3104 from hashicorp/b/removing-semicolons-from-names
Browse files Browse the repository at this point in the history
tools/importer-rest-api-specs: removing `;` and `\r` and `\n` from constant names
  • Loading branch information
tombuildsstuff authored Oct 4, 2023
2 parents 9423ca4 + ed5b53d commit b02a3e5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func RemoveInvalidCharacters(input string, titleCaseSegments bool) string {
",",
"/",
":",
";", // https://github.com/hashicorp/pandora/pull/3096/files#diff-303d1d97a2359c956e7b5ccf32ffefe5711fecfccac9439b7c43b1a38b32597dR40
"\r", // https://github.com/hashicorp/pandora/pull/3096/files#diff-303d1d97a2359c956e7b5ccf32ffefe5711fecfccac9439b7c43b1a38b32597dR40
"\n", // https://github.com/hashicorp/pandora/pull/3096/files#diff-303d1d97a2359c956e7b5ccf32ffefe5711fecfccac9439b7c43b1a38b32597dR40
"$",
"'",
".",
Expand Down

0 comments on commit b02a3e5

Please sign in to comment.