David Sherret
David Sherret
I wonder if maybe there should just be a 1 second delay before searching for config files or do a retry on no files found.
Can you check if the issue still persists in 0.16.5 of the vscode extension?
Annoying, I haven’t been able to reproduce it :(
@johnnycheng0210 I published 0.16.6 that has https://github.com/dprint/dprint-vscode/pull/109 Edit: Doing a 0.16.7 release that will improve it further: https://github.com/dprint/dprint-vscode/pull/111
By the way, turning on the `"dprint.verbose": true` setting might be useful for improving the logs. @todor-a that sounds like dprint is available in the shell, but not however vscode...
As a workaround, you can put the string in quotes: ```json { "tasks": { "slash": "echo '{}'", } } ```
@vixalien can you show the actual example that's failing?
It seems also the escaping of `;` does not work. The following does though: ```json { "tasks": { "find": "find -regex '.*\\.[tj]sx?' -exec grep -i class '{}' ';'" } }...
It is a bug.
I think `project.getAmbientModule("fs")` or `project.getAmbientModule("node:fs")` https://github.com/dsherret/ts-morph/blob/a1c61c7e04928de5d8fc12f32a76e3ed5b7ffea1/packages/ts-morph/lib/ts-morph.d.ts#L644