Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jy committed Nov 29, 2024
1 parent dd68582 commit bcdccd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ declare module 'snowflake-sdk' {

/**
* @deprecated
* This option was deprecated. Please use disableOCSPChecks.
* This option is deprecated. Please use disableOCSPChecks.
*/
insecureConnect?: boolean;

Expand Down
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function Core(options) {
}

if (Util.exists(options.insecureConnect)) {
Logger.getInstance().warn('Warning! The option insecureConnect was deprecated. Please use the disableOCSPChecks.');
Logger.getInstance().warn('Warning! The option insecureConnect is deprecated. Please use the disableOCSPChecks.');
}

const disableOCSPChecks = (Util.exists(options.insecureConnect) && Util.exists(options.disableOCSPChecks)) ? options.disableOCSPChecks : (options.insecureConnect || options.disableOCSPChecks);
Expand Down

0 comments on commit bcdccd1

Please sign in to comment.