fileEntryService.writeContentTo(user, scriptEntry.getPath(), scriptDirectory);
} else {
FileUtils.writeStringToFile(scriptFile, scriptEntry.getContent(),
StringUtils.defaultIfBlank(scriptEntry.getEncoding(), "UTF-8"));
}
File doValidate = localScriptTestDriveService.doValidate(scriptDirectory, scriptFile, new Condition(),
config.isSecurityEnabled(), hostString, getTimeout());
List<String> readLines = FileUtils.readLines(doValidate);
StringBuilder output = new StringBuilder();
String path = config.getHome().getDirectory().getAbsolutePath();
for (String each : readLines) {