Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sitingren authored May 24, 2024
1 parent add15cb commit 2d4a5aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vertica-nodejs/lib/connection-parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2d4a5aa

Please sign in to comment.