mirror of
https://github.com/neocities/neocities.git
synced 2025-07-26 04:18:22 +02:00
Merge branch 'github-actions' of https://github.com/talklittle/neocities into talklittle-github-actions
This commit is contained in:
commit
e1416fd40f
8 changed files with 49 additions and 19 deletions
|
@ -720,8 +720,8 @@ class Site < Sequel::Model
|
|||
|
||||
return false unless valid_file_mime_type_and_ext?(mime_type, extname)
|
||||
|
||||
# clamdscan doesn't work on travis for testing
|
||||
return true if ENV['TRAVIS'] == 'true'
|
||||
# clamdscan doesn't work on continuous integration for testing
|
||||
return true if ENV['CI'] == 'true'
|
||||
|
||||
File.chmod 0666, uploaded_file[:tempfile].path
|
||||
line = Terrapin::CommandLine.new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue