Skip to content

Commit cadaa07

Browse files
Potential fix for code scanning alert no. 261: Use of externally-controlled format string (#5)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e6d1130 commit cadaa07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pjs-js-client/src/core/json-reconstructor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class JsonReconstructor {
118118
}
119119

120120
if (this.config.debug) {
121-
console.log(`[PJS] Applied ${patch.operation} patch:`, {
121+
console.log('[PJS] Applied patch operation:', patch.operation, {
122122
path: patch.path,
123123
operationCount: this.operationCount,
124124
hasValue: patch.value !== undefined

0 commit comments

Comments
 (0)