tspath icon indicating copy to clipboard operation
tspath copied to clipboard

--filter and --force don't work

Open wakecoder opened this issue 6 years ago • 3 comments

When running tspath --force it still prompts the user. However, if I run tspath -f it doesn't.

Likewise, when I run tspath --filter="rr" it ignores the filter and still processes .js files. This is important because, by default tspath isn't processing the d.ts files.

Lastly, I noticed the version on NPM is 1.3.7 but github shows 1.3.5. Not sure how this is the case. When I pull down 1.3.5 from github it appears to work correctly with --force and --filter. However, 1.3.7 installed via NPM displays the issues I noted above.

wakecoder avatar Sep 26 '18 19:09 wakecoder

The problem appears to be the way the project is built The dist folder contains the newest 1.3.7 source, but it completely ignores it in favor of the dist/src folder, which is a 2 year old version of 1.3.5

vennekilde avatar Aug 13 '19 11:08 vennekilde

I have the same problem here. It makes it hard to use the tool in a CI. This issue is quite old, is there any plan to fix it or workaround ? Thanks !

tgouala avatar Jun 14 '20 20:06 tgouala

Just find out -f works.

tgouala avatar Jun 14 '20 20:06 tgouala