Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error message dumps entire script on error #48

Closed
nev21 opened this issue Nov 19, 2024 · 0 comments
Closed

[Bug] Error message dumps entire script on error #48

nev21 opened this issue Nov 19, 2024 · 0 comments
Milestone

Comments

@nev21
Copy link
Contributor

nev21 commented Nov 19, 2024

When the script can't the json file it dumps the entire script content, this is not useful and should not dump the entire script on error

!!! Unable to locate group definitions [<repo path>\pre-proc.json]
<repo path>\common\temp\node_modules\@nevware21\ts-preproc\dist\bin\ts-preproc.js:8
var k=require("path"),d=require("fs"),F=require("node:fs"),i=require("node:path"),I=require("stream"),N=require("os"),$=require("util"),j=require("events"),B=require("node:process"),G=require("node:url");function U(r){var n=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&Object.defineProperty(n,e,(t=Object.getOwnPropertyDescriptor(r,e)).get?t:{enumerable:!0,get:function(){return r[e]}})}),n.default
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant