diff --git a/one.js b/one.js deleted file mode 100644 index 6322ddeabfb..00000000000 --- a/one.js +++ /dev/null @@ -1,22 +0,0 @@ -async function sleep(n) { - return new Promise((resolve, reject) => { - setTimeout(() => { - resolve(); - }, n); - }); -} - -async function generateHash() { - console.log('generating hash...'); - await sleep(100); - return 'hash'; -} - -async function main() { - const map = new Map(); - map.set(1, 'one'); - - const hash = map.get(2) || (await generateHash()); - console.log('generated hash:', hash); -} -main(); diff --git a/src/standalone/intellisense/notebookPythonPathService.node.ts b/src/standalone/intellisense/notebookPythonPathService.node.ts index b336c01d4a2..34dc09507f7 100644 --- a/src/standalone/intellisense/notebookPythonPathService.node.ts +++ b/src/standalone/intellisense/notebookPythonPathService.node.ts @@ -8,7 +8,7 @@ import { IExtensionSyncActivationService } from '../../platform/activation/types import { IPythonApiProvider, IPythonExtensionChecker } from '../../platform/api/types'; import { PylanceExtension } from '../../platform/common/constants'; import { getDisplayPath, getFilePath } from '../../platform/common/platform/fs-paths'; -import { traceInfo, traceVerbose } from '../../platform/logging'; +import { traceVerbose } from '../../platform/logging'; import { IControllerRegistration } from '../../notebooks/controllers/types'; import { IKernelProvider, isRemoteConnection } from '../../kernels/types'; import { noop } from '../../platform/common/utils/misc'; @@ -146,7 +146,7 @@ del _VSCODE_os, _VSCODE_sys, _VSCODE_builtins if (!interpreter) { // Empty string is special, means do not use any interpreter at all. - traceInfo(`No interpreter for Pylance for Notebook URI "${getDisplayPath(notebook.uri)}"`); + traceVerbose(`No interpreter for Pylance for Notebook URI "${getDisplayPath(notebook.uri)}"`); return ''; } traceVerbose(