Skip to content
Snippets Groups Projects
Commit a6e0f73f authored by lq39quba's avatar lq39quba
Browse files

corrected file ending

parent 27467c36
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment