Skip to content

Commit

Permalink
fix creating config paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Oct 5, 2023
1 parent bc0de20 commit 162b010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/testEasyLoggingOnConnecting.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('Easy logging tests', function () {
const configContent = `{
"common": {
"log_level": "${logLevel}",
"log_path": "${tempDir}"
"log_path": "${tempDir.replace(/\\/g, '\\\\')}"
}
}`;
await writeFile(configFilePath, configContent);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/logger/easy_logging_starter_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('Easy logging starter tests', function () {
const configContent = `{
"common": {
"log_level": "${logLevel}",
"log_path": "${tempDir}"
"log_path": "${tempDir.replace(/\\/g, '\\\\')}"
}
}`;
await writeFile(configFilePath, configContent);
Expand Down

0 comments on commit 162b010

Please sign in to comment.