1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

removed path.sep and use path.join to concatenate path

This commit is contained in:
Nguyễn Việt Hưng
2018-04-27 11:27:51 +07:00
parent 2e09501c8a
commit 8c43f3d567
4 changed files with 6 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ const sander = require('sander')
const os = require('os')
const path = require('path')
const snippetFilePath = path.join(os.tmpdir(), `test${path.sep}create-snippet`)
const snippetFilePath = path.join(os.tmpdir(), 'test', 'create-snippet')
const snippetFile = path.join(snippetFilePath, 'snippets.json')
test.beforeEach((t) => {