Skip to content

Commit caad66e

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-code/src/data-access-layer/data-access-objects/data-access-object-oracle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class DataAccessObjectOracle extends BasicDataAccessObject implements IDa
9494
.where(primaryKey)
9595
.del();
9696
} catch (error) {
97-
console.error(`Error deleting row in table ${tableName}:`, error);
97+
console.error('Error deleting row in table: %s', tableName, error);
9898
throw error;
9999
}
100100
}

0 commit comments

Comments
 (0)