From 0f8745545d5436f64ba3b2a8a091dcd4ecdffbfd Mon Sep 17 00:00:00 2001 From: owl-from-hogvarts Date: Tue, 4 May 2021 12:12:46 +0300 Subject: [PATCH] chore: remove unnecessary comment, fix spelling errors --- lib/find-python.js | 4 ---- test/test-find-python.js | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/find-python.js b/lib/find-python.js index 7bf7cb17a3..5a4c5c572d 100644 --- a/lib/find-python.js +++ b/lib/find-python.js @@ -579,10 +579,6 @@ class PythonFinder { this.addLog(`${colorizeOutput(colorHighlight.RED, `${prop.toUpperCase()}:`)} ${err.data[prop].trim()}`) } } - - // if (error.data.stderr) { - // this.addLog(`${colorizeOutput(colorHighlight.RED, 'STDERR:')} ${error.data.stderr.trim()}`) - // } } this.addLog('--------------------------------------------') } diff --git a/test/test-find-python.js b/test/test-find-python.js index d6cbdf83f3..14eaed09cc 100644 --- a/test/test-find-python.js +++ b/test/test-find-python.js @@ -303,14 +303,14 @@ test('find-python', { buffered: true }, (t) => { t.end() }) - await t.test(`test with path contain "${testString}"`, async (t) => { + await t.test(`test with path containing "${testString}"`, async (t) => { // making fixture paths.testDir = fs.mkdtempSync(path.resolve(paths.baseDir, 'node_modules', 'pythonFindTestFolder-')) // using "junction" to avoid permission error fs.symlinkSync(paths.pythonDir, path.resolve(paths.testDir, testString), 'junction') - console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ awaitt.test ~ path.resolve(paths.testDir, testString)', path.resolve(paths.testDir, testString)) - console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ awaitt.test ~ paths.pythonDir', paths.pythonDir) + console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ path.resolve(paths.testDir, testString)', path.resolve(paths.testDir, testString)) + console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ paths.pythonDir', paths.pythonDir) const { pythonFinderInstance, result } = promisifyPythonFinder(path.resolve(paths.testDir, 'python'))