Skip to content

Commit eb80bc8

Browse files
whitelisting SystemInfo.xml in isMsDeployPackage check
1 parent 1a3520b commit eb80bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/Common/webdeployment-common/utility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export async function isMSDeployPackage(webAppPackage: string ) {
148148
var isParamFilePresent = false;
149149
var pacakgeComponent = await zipUtility.getArchivedEntries(webAppPackage);
150150
if (((pacakgeComponent["entries"].indexOf("parameters.xml") > -1) || (pacakgeComponent["entries"].indexOf("Parameters.xml") > -1)) &&
151-
((pacakgeComponent["entries"].indexOf("systemInfo.xml") > -1) || (pacakgeComponent["entries"].indexOf("systeminfo.xml") > -1))) {
151+
((pacakgeComponent["entries"].indexOf("systemInfo.xml") > -1) || (pacakgeComponent["entries"].indexOf("systeminfo.xml") > -1) || (pacakgeComponent["entries"].indexOf("SystemInfo.xml") > -1))) {
152152
isParamFilePresent = true;
153153
}
154154
tl.debug("Is the package an msdeploy package : " + isParamFilePresent);

0 commit comments

Comments
 (0)