We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ca5fa commit bc8b8f5Copy full SHA for bc8b8f5
1 file changed
packages/pg/test/unit/client/password-callback-tests.js
@@ -54,6 +54,10 @@ suite.test('cleartext password auth does not crash with null password using pg-p
54
if (!fs.existsSync(process.env.PGPASSFILE)) {
55
throw new Error('PGPASSFILE does not exist')
56
}
57
+ // print the contents of the file
58
+ console.log('contents of the file:', fs.readFileSync(process.env.PGPASSFILE, 'utf8'))
59
+ // print the mode of the file
60
+ console.log('stats of the file:', fs.statSync(process.env.PGPASSFILE))
61
const client = helper.client({
62
host: 'foo',
63
port: 5432,
0 commit comments