fix argument index in cpd_script.php

This commit is contained in:
Ivan Smolin 2020-04-01 13:44:20 +03:00
parent 2fbfcf3d59
commit 53a0c5fbee
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php
$CPD_XML_PATH = $argv[2];
$CPD_XML_PATH = $argv[1];
foreach (simplexml_load_file($CPD_XML_PATH)->duplication as $duplication) {
$files = $duplication->xpath('file');