You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using version 1.1.2-beta.3 of this package, because I need the file-permissions-hooks.
My tsconfig.json.include does not have any entries ending with .ts or *.
that means, that it deletes the inlcude property from the config in copy-files.hook.js:L35.
and saves that to tsconfig.json.
/node_modules/tsc-hooks/hooks/copy-files/copy-files.hook.js:65
for (const file of includedFiles) {
^
ReferenceError: includedFiles is not defined
at Object.onPostCompilation (./node_modules/tsc-hooks/hooks/copy-files/copy-files.hook.js:65:24)
I can't quite figure out where this variable is defined anyway, maybe injected from somewhere, but it is apparently empty.
And because it does not copy any files (because it error'ed out), it also does not write back the original tsconfig.json.
The text was updated successfully, but these errors were encountered:
Pushing, because it gets annoying in my projects that I need to checkout the tsconfig.json from VCS every build.
Would you accept a PR (as the others are also still pending)? Or would I need to fork and publish that?
Hi,
I am using version
1.1.2-beta.3
of this package, because I need the file-permissions-hooks.My
tsconfig.json
.include
does not have any entries ending with.ts
or*
.that means, that it deletes the inlcude property from the config in copy-files.hook.js:L35.
and saves that to
tsconfig.json
.After compilation it errors out in copy-files.hook.js:L65 with
I can't quite figure out where this variable is defined anyway, maybe injected from somewhere, but it is apparently empty.
And because it does not copy any files (because it error'ed out), it also does not write back the original
tsconfig.json
.The text was updated successfully, but these errors were encountered: