Skip to content

Commit 9d5c2cb

Browse files
authored
fixbug
1 parent 4d661cd commit 9d5c2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/qbb/interaction/UploadToYapi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void actionPerformed(AnActionEvent e) {
6262
PsiFile psiFile = (PsiFile) e.getDataContext().getData(CommonDataKeys.PSI_FILE);
6363
String virtualFile = psiFile.getVirtualFile().getPath();
6464
for (int i = 0; i < moduleList.length; i++) {
65-
if (virtualFile.equals(moduleList[i])) {
65+
if (virtualFile.contains(moduleList[i])) {
6666
projectToken = projectConfig.split(moduleList[i] + "\\.projectToken\">")[1].split("</")[0];
6767
projectId = projectConfig.split(moduleList[i] + "\\.projectId\">")[1].split("</")[0];
6868
yapiUrl = projectConfig.split(moduleList[i] + "\\.yapiUrl\">")[1].split("</")[0];

0 commit comments

Comments
 (0)