2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: Don't use backticks that take in inputs.

This commit is contained in:
Guo Xiang Tan 2017-03-17 14:21:30 +08:00
parent b49bf889f6
commit e7c972ac89
11 changed files with 51 additions and 57 deletions

View file

@ -82,7 +82,7 @@ class LetterAvatar
'#{filename}'
}
`convert #{instructions.join(" ")}`
Discourse::Utils.execute_command('convert', instructions.join(" ".freeze))
## do not optimize image, it will end up larger than original
filename