fix(parser): use warn
instead of log
for warnings
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s
This commit is contained in:
parent
57920a034d
commit
2501032cf4
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue