Skip to content

Commit 0f87455

Browse files
chore: remove unnecessary comment, fix spelling errors
1 parent d7cafb8 commit 0f87455

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/find-python.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,10 +579,6 @@ class PythonFinder {
579579
this.addLog(`${colorizeOutput(colorHighlight.RED, `${prop.toUpperCase()}:`)} ${err.data[prop].trim()}`)
580580
}
581581
}
582-
583-
// if (error.data.stderr) {
584-
// this.addLog(`${colorizeOutput(colorHighlight.RED, 'STDERR:')} ${error.data.stderr.trim()}`)
585-
// }
586582
}
587583
this.addLog('--------------------------------------------')
588584
}

test/test-find-python.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,14 @@ test('find-python', { buffered: true }, (t) => {
303303
t.end()
304304
})
305305

306-
await t.test(`test with path contain "${testString}"`, async (t) => {
306+
await t.test(`test with path containing "${testString}"`, async (t) => {
307307
// making fixture
308308
paths.testDir = fs.mkdtempSync(path.resolve(paths.baseDir, 'node_modules', 'pythonFindTestFolder-'))
309309

310310
// using "junction" to avoid permission error
311311
fs.symlinkSync(paths.pythonDir, path.resolve(paths.testDir, testString), 'junction')
312-
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ awaitt.test ~ path.resolve(paths.testDir, testString)', path.resolve(paths.testDir, testString))
313-
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ awaitt.test ~ paths.pythonDir', paths.pythonDir)
312+
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ path.resolve(paths.testDir, testString)', path.resolve(paths.testDir, testString))
313+
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ paths.pythonDir', paths.pythonDir)
314314

315315
const { pythonFinderInstance, result } = promisifyPythonFinder(path.resolve(paths.testDir, 'python'))
316316

0 commit comments

Comments
 (0)