Ver código fonte

Improve error message

main
Adrian Short 4 anos atrás
pai
commit
3565c09d79
Acessado por: adrian ID da chave GPG: 4B54F9AE91AB06BB
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb Ver arquivo

@@ -8,8 +8,8 @@ require 'rss'
if ENV['KIOSKS_SITEURL']
SITEURL = ENV['KIOSKS_SITEURL']
else
puts "KIOSKS_SITEURL environment variable must be set to the base URL of the site without a trailing slash"
puts "eg https://kiosks.adrianshort.org"
puts "KIOSKS_SITEURL environment variable must be set to the base URL of the site without a trailing slash, eg:"
puts "export KIOSKS_SITEURL=https://kiosks.adrianshort.org"
exit 1
end



Carregando…
Cancelar
Salvar