Add clarification to message

This commit is contained in:
Alexander Nozik 2022-06-20 11:05:13 +03:00
parent 3f27061e25
commit cfc7fa5161
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
2 changed files with 2 additions and 2 deletions

View File

@ -98,5 +98,5 @@ if (host != null && user != null || identity != null) {
} }
}else { }else {
logger.error("Host, user or ID are not defined") logger.error("Host, user or ID are not defined. Skipping deployment tasks.")
} }

View File

@ -31,7 +31,7 @@ private fun ChannelSftp.recursiveFolderUpload(sourceFile: File, destinationPath:
} catch (e: Exception) { } catch (e: Exception) {
println("$directoryPath does not exist") println("$directoryPath does not exist")
} }
// else create a directory // else create a directory
if (attrs != null) { if (attrs != null) {
println("Directory $directoryPath exists IsDir=${attrs.isDir()}") println("Directory $directoryPath exists IsDir=${attrs.isDir()}")