From 2d4a5aa9697dba02095b404c5102bd5ec03a9896 Mon Sep 17 00:00:00 2001 From: Siting Ren Date: Fri, 24 May 2024 20:25:46 +0800 Subject: [PATCH] add comment --- packages/vertica-nodejs/lib/connection-parameters.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vertica-nodejs/lib/connection-parameters.js b/packages/vertica-nodejs/lib/connection-parameters.js index 3a33afa9..e6a19164 100644 --- a/packages/vertica-nodejs/lib/connection-parameters.js +++ b/packages/vertica-nodejs/lib/connection-parameters.js @@ -99,6 +99,7 @@ class ConnectionParameters { // user is required for non-OAuth connections this.user = val('user', config) if (!this.user && !this.oauth_access_token) { + // TODO: log a notice to the user that the user property was taken from the environment once we fully support logging this.user = process.platform === 'win32' ? process.env.USERNAME : process.env.USER }