File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/com/magento/idea/magento2plugin/actions/generation/util Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
import com .intellij .psi .PsiFile ;
17
17
import com .intellij .psi .PsiManager ;
18
18
import com .intellij .psi .util .PsiTreeUtil ;
19
+ import com .magento .idea .magento2plugin .magento .files .ComposerJson ;
19
20
import com .magento .idea .magento2plugin .php .module .ComposerPackageModel ;
20
21
import com .magento .idea .magento2plugin .php .module .ComposerPackageModelImpl ;
21
22
23
+ import java .io .File ;
24
+
22
25
public class MagentoVersion {
23
26
private static MagentoVersion INSTANCE = null ;
24
27
private String version = "unknown" ;
@@ -63,7 +66,6 @@ public String get() {
63
66
}
64
67
65
68
private String getFilePath () {
66
- String fileName = "composer.json" ;
67
- return this .project .getBasePath () + "/" + fileName ;
69
+ return this .project .getBasePath () + File .separator + ComposerJson .FILE_NAME ;
68
70
}
69
71
}
You can’t perform that action at this time.
0 commit comments