Skip to content

Commit b47a7bd

Browse files
authored
Merge pull request #479 from UziTech/windows-config
fix windows config setup
2 parents a204a82 + 2b2b4ff commit b47a7bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ProjectManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ class ProjectManager
6060
const template =
6161
`{
6262
"uris": [
63-
"file://${mainFolder}"
63+
"file://${mainFolder.replace(/\\/g, '\\\\')}"
6464
],
65-
"indexDatabaseUri": "${indexDatabaseUri}",
65+
"indexDatabaseUri": "${indexDatabaseUri.replace(/\\/g, '\\\\')}",
6666
"phpVersion": 7.3,
6767
"excludedPathExpressions": [],
6868
"fileExtensions": [

0 commit comments

Comments
 (0)