Skip to content

Commit a49d664

Browse files
committed
Revert "Fail rebuild for config files containing compromised github organisation (#979)"
This reverts commit 7889fe3. Control of the org has now been regained
1 parent 8bd0b66 commit a49d664

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

launcher

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ BUNDLED_PLUGINS=(
4848
"discourse-calendar"
4949
)
5050

51-
COMPROMISED_ORGANIZATIONS=(
52-
"github.com/discoursehosting"
53-
)
54-
5551
# for potential re-exec later
5652
SAVED_ARGV=("$@")
5753

@@ -362,18 +358,6 @@ set_template_info() {
362358
arrTemplates=(${templates// / })
363359
config_data=$(cat $config_file)
364360

365-
# if config data includes any compromised organizations, error out and print a message
366-
for org in "${COMPROMISED_ORGANIZATIONS[@]}"; do
367-
if [[ $config_data =~ $org ]]; then
368-
echo "---"
369-
echo "ERROR: The configuration file $config_file contains references to a compromised github organization: $org"
370-
echo "Please remove any references to this organization from your configuration file."
371-
echo "For more information, see https://meta.discourse.org/t/374703/6"
372-
echo "---"
373-
exit 1
374-
fi
375-
done
376-
377361
input="hack: true"
378362

379363
for template in "${arrTemplates[@]}"

0 commit comments

Comments
 (0)