Explorar el Código

Improve error message

main
Adrian Short hace 3 años
padre
commit
3565c09d79
Firmado por: adrian ID de clave GPG: 4B54F9AE91AB06BB
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb Ver fichero

@@ -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



Cargando…
Cancelar
Guardar