Skip to content

Commit 38e7656

Browse files
committed
[TEST] no parallel test execution
1 parent 4eccb2a commit 38e7656

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/PullRequest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
strategy:
16+
max-parallel: 1
1617
matrix:
1718
include:
1819
- ideaVersion: IC-193.5233.102

src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvStorageHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public static String getRelativeFileUrl(Project project, VirtualFile virtualFile
2323
String url = virtualFile.getUserData(RELATIVE_FILE_URL);
2424
if (url == null && project.getBasePath() != null) {
2525
String projectDir = PathUtil.getLocalPath(project.getBasePath());
26-
url = PathUtil.getLocalPath(virtualFile.getPath())
27-
.replaceFirst("^" + Pattern.quote(projectDir), "");
26+
url = Paths.get(PathUtil.getLocalPath(virtualFile.getPath())
27+
.replaceFirst("^" + Pattern.quote(projectDir), "")).toString();
2828
virtualFile.putUserData(RELATIVE_FILE_URL, url);
2929
}
3030
return url;

0 commit comments

Comments
 (0)