Skip to content

Commit 52d987a

Browse files
committed
nit fix
1 parent a5c70be commit 52d987a

File tree

3 files changed

+715
-1548
lines changed

3 files changed

+715
-1548
lines changed

lib/DeploymentProvider/Providers/WebAppDeploymentProvider.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,7 @@ class WebAppDeploymentProvider extends BaseWebAppDeploymentProvider_1.BaseWebApp
156156
}
157157
// Check if the webPackage folder contains a .php file
158158
const hasPhpFiles = fs_1.default.readdirSync(webPackage).some(file => file.endsWith('.php'));
159-
if (hasPhpFiles) {
160-
return true;
161-
}
159+
return hasPhpFiles;
162160
}
163161
catch (error) {
164162
core.debug(`Error while checking if the app is PHP: ${error}`);

0 commit comments

Comments
 (0)