File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -121,12 +121,10 @@ function validateUserConfig(userConfig: Partial<GithubActionSWAConfig>) {
121121}
122122
123123export const readConfigFile = ( { userConfig } : { userConfig ?: Partial < GithubActionSWAConfig > } = { } ) : Partial < GithubActionSWAConfig > | undefined => {
124- const warningMessage = `INFO: Azure Static Web Apps configuration not found under ".github/workflows/"` ;
125124 const githubActionFolder = path . resolve ( process . cwd ( ) , ".github/workflows/" ) ;
126125
127126 // does the config folder exist?
128127 if ( fs . existsSync ( githubActionFolder ) === false ) {
129- console . warn ( warningMessage ) ;
130128 return userConfig && validateUserConfig ( userConfig ) ;
131129 }
132130
@@ -139,7 +137,6 @@ export const readConfigFile = ({ userConfig }: { userConfig?: Partial<GithubActi
139137
140138 // does the config file exist?
141139 if ( ! githubActionFile || fs . existsSync ( githubActionFile ) ) {
142- console . warn ( warningMessage ) ;
143140 return userConfig && validateUserConfig ( userConfig ) ;
144141 }
145142
You can’t perform that action at this time.
0 commit comments