fix(parser): use warn instead of log for warnings
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s

This commit is contained in:
cswimr 2025-02-12 01:08:26 -06:00
parent 57920a034d
commit 2501032cf4
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "@packwizjs/parser", "name": "@packwizjs/parser",
"module": "src/index.ts", "module": "src/index.ts",
"version": "1.1.0", "version": "1.1.1",
"type": "module", "type": "module",
"description": "A simple library for parsing Packwiz TOML files", "description": "A simple library for parsing Packwiz TOML files",
"author": { "author": {

View file

@ -54,7 +54,7 @@ export function doHashesMatch(
): boolean { ): boolean {
let computedHash; let computedHash;
if (hashFormat === HashFormat.murmur2) { if (hashFormat === HashFormat.murmur2) {
console.log( console.warn(
"WARNING: Murmur2 hash checking is not implemented yet! Skipping hash checking.", "WARNING: Murmur2 hash checking is not implemented yet! Skipping hash checking.",
); );
return true; return true;