add some logging
This commit is contained in:
parent
1a96d89f0f
commit
7e740c99dc
@ -23,6 +23,9 @@ const getRom = async (inputFile: string) => {
|
|||||||
|
|
||||||
const match = js.match(/\b_cartdat\s*=\s*(\[.*\])/);
|
const match = js.match(/\b_cartdat\s*=\s*(\[.*\])/);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
console.log("BEGIN js contents --------------------------------------------");
|
||||||
|
console.log(js);
|
||||||
|
console.log("END js contents ----------------------------------------------");
|
||||||
throw Error("Could not properly parse js file to find _cartdat");
|
throw Error("Could not properly parse js file to find _cartdat");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user