Merge pull request #1866 from Azure/feature/v-rucdu/PRValidationExtension
Extending PR Validations to Solutions folder
This commit is contained in:
Коммит
d5edd79552
|
@ -67,7 +67,7 @@ function getConnectorCategory(dataTypes : any, instructionSteps:[])
|
|||
}
|
||||
|
||||
let fileTypeSuffixes = ["json"];
|
||||
let filePathFolderPrefixes = ["DataConnectors"];
|
||||
let filePathFolderPrefixes = ["DataConnectors","Solutions"];
|
||||
let fileKinds = ["Added", "Modified"];
|
||||
let CheckOptions = {
|
||||
onCheckFile: (filePath: string) => {
|
||||
|
|
|
@ -30,7 +30,7 @@ export async function IsIdHasChanged(filePath: string): Promise<ExitCode> {
|
|||
|
||||
let fileKinds = ["Modified"];
|
||||
let fileTypeSuffixes = ["yaml", "yml", "json"];
|
||||
let filePathFolderPrefixes = ["Detections"];
|
||||
let filePathFolderPrefixes = ["Detections","Solutions"];
|
||||
let CheckOptions = {
|
||||
onCheckFile: (filePath: string) => {
|
||||
return IsIdHasChanged(filePath);
|
||||
|
|
|
@ -24,7 +24,7 @@ export async function IsValidWorkbookTemplate(filePath: string): Promise<ExitCod
|
|||
}
|
||||
|
||||
let fileTypeSuffixes = [".json"];
|
||||
let filePathFolderPrefixes = ["Workbooks"];
|
||||
let filePathFolderPrefixes = ["Workbooks","Solutions"];
|
||||
let fileKinds = ["Added", "Modified"];
|
||||
let CheckOptions = {
|
||||
onCheckFile: (filePath: string) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче