File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 94
94
cat <<- EOF
95
95
import { Client } from '$1';
96
96
const client = new Client();
97
- const secured = await client.connect();
98
- console.log(secured );
97
+ const info = await client.connect();
98
+ console.log("Encrypted: " + info.encrypted );
99
99
await client.end();
100
100
EOF
101
101
}
@@ -105,16 +105,18 @@ jobs:
105
105
npm run test:prod || exit 1
106
106
npm run build
107
107
gen_code ./dist/src/index.js > test.mjs
108
- node test.mjs | tee /dev/stderr | grep -q true
108
+ node test.mjs | tee /dev/stderr | grep true
109
109
;;
110
110
bun)
111
111
# Workaround: https://github.com/oven-sh/bun/issues/1590
112
112
dependencies=`jq -r '.dependencies|to_entries|map("\(.key)@\(.value)")|join(" ")' package.json`
113
113
( set -x; mkdir /tmp/bun && cd "$_" && ls -lah && bun install "$dependencies" && rm -rf `pwd`; )
114
+ set -x
114
115
bun install -p --ignore-scripts
115
116
bun build src/index.ts --target bun > ts-postgres.js
116
117
gen_code ./ts-postgres.js > test.mjs
117
- bun test.mjs | tee /dev/stderr | grep -q true
118
+ bun test.mjs
119
+ bun test.mjs | tee /dev/stderr | grep true
118
120
;;
119
121
esac
120
122
env :
You can’t perform that action at this time.
0 commit comments