Fixed example.

This commit is contained in:
Erik C. Thauvin 2017-11-08 20:10:48 -08:00
parent 7c7c33b716
commit 95428c22f8

View file

@ -228,7 +228,7 @@ fun main(args: Array<String>) {
PinboardPoster( PinboardPoster(
Properties().apply { Properties().apply {
Files.newInputStream(properties).use { fis -> load(fis) } Files.newInputStream(properties).use { fis -> load(fis) }
}.getProperty(ENV_API_TOKEN, "") }
) )
else -> else ->
// API Token is an environment variable (PINBOARD_API_TOKEN) or empty; // API Token is an environment variable (PINBOARD_API_TOKEN) or empty;