From a6e0f73f01d76c2521fd4a197dfdfeb42c4d4116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luise=20Quo=C3=9F?= <luise.quoss@idiv.de> Date: Wed, 9 Mar 2022 10:21:00 +0100 Subject: [PATCH] corrected file ending --- ebv_metadata_app.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebv_metadata_app.R b/ebv_metadata_app.R index 224d49a..313876f 100644 --- a/ebv_metadata_app.R +++ b/ebv_metadata_app.R @@ -607,8 +607,8 @@ server <- function(input, output) { output$value <- renderPrint({'Outputpath must be of type character.'}) } else if(checkmate::checkDirectoryExists(dirname(input$outputpath)) != TRUE){ output$value <- renderPrint({paste0('Output directory does not exist.\n', dirname(input$outputpath))}) - } else if(!endsWith(input$outputpath, '.js')){ - output$value <- renderPrint({'Outputpath needs to end with *.js'}) + } else if(!endsWith(input$outputpath, '.json')){ + output$value <- renderPrint({'Outputpath needs to end with *.json'}) } else { #check title -- GitLab