Skip to content

Commit 0a87557

Browse files
authored
Merge pull request #618 from AikidoSec/better-sqlite3-op-type
Fix better-sqlite3 operation type
2 parents df09ae1 + 849f285 commit 0a87557

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ credentials.json
3030
# Test files
3131
library/test.txt
3232
library/test2.txt
33+
34+
# Rust build files
35+
instrumentation-wasm/target/

library/sinks/BetterSQLite3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class BetterSQLite3 implements Wrapper {
7979
}
8080
for (const func of fsPathFunctions) {
8181
wrapExport(exports.prototype, func, pkgInfo, {
82-
kind: "sql_op",
82+
kind: "fs_op",
8383
inspectArgs: (args) => {
8484
return this.inspectPath(`better-sqlite3.${func}`, args);
8585
},

0 commit comments

Comments
 (0)