Skip to content

Commit 2acc067

Browse files
committed
fix(uuid): fix type inspect
Signed-off-by: Daniel Boll <danielboll.academico@gmail.com>
1 parent 6f17b29 commit 2acc067

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,6 @@ module.exports.VerifyMode = nativeBinding.VerifyMode
378378

379379
const customInspectSymbol = Symbol.for('nodejs.util.inspect.custom')
380380

381-
Uuid.prototype[customInspectSymbol] = function () {
381+
nativeBinding.Uuid.prototype[customInspectSymbol] = function () {
382382
return this.toString();
383383
}

scripts/fix-files.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function addInspector(filename) {
55
writeFileSync(filename, readFileSync(filename, "utf8").concat(`
66
const customInspectSymbol = Symbol.for('nodejs.util.inspect.custom')
77
8-
Uuid.prototype[customInspectSymbol] = function () {
8+
nativeBinding.Uuid.prototype[customInspectSymbol] = function () {
99
return this.toString();
1010
}
1111
`).trim());

src/session/scylla_session.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ impl ScyllaSession {
224224

225225
let result = QueryResult::parser(query_result);
226226

227-
dbg!(result.clone());
228-
dbg!(tracing.clone());
229-
230227
Ok(json!({
231228
"result": result,
232229
"tracing": tracing

0 commit comments

Comments
 (0)