Fixing breaking tests
This commit is contained in:
Родитель
e16f1cea91
Коммит
fa15047bea
|
@ -88,8 +88,12 @@ const writeOutFiles = function(program,finalLUISJSON,finalQnAJSON, finalQnAAlter
|
|||
finalLUISJSON.culture = finalLUISJSON.culture.toLowerCase();
|
||||
}
|
||||
|
||||
if (!program.luis_name && finalLUISJSON && finalLUISJSON.name) program.luis_name = finalLUISJSON.name;
|
||||
|
||||
if (finalQnAJSON) finalQnAJSON.name = program.qna_name || finalQnAJSON.name || path.basename(rootFile, path.extname(rootFile));
|
||||
|
||||
if (!program.qna_name && finalQnAJSON && finalQnAJSON.name) program.qna_name = finalQnAJSON.name || '';
|
||||
|
||||
var writeQnAFile = (finalQnAJSON.qnaList.length > 0) ||
|
||||
(finalQnAJSON.urls.length > 0) ||
|
||||
(finalQnAJSON.files.length > 0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче