-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
tcm is not finding any files whene I specify a glob pattern on the command line. It works when I specify only a folder.
I'm sure I'm doing something wrong but I'm not sure what.
I've checked the README and examples.
Expected Behavior
tcm 'src/client/**/*.scss' Output:
Wrote /.../src/client/components/Header.scss.d.ts
Current Behavior
No output and a .d.ts file is not generated.
Steps to Reproduce
This is my repo structure (new project, mostly empty)
src/client
src/client/App.tsx
src/client/main.tsx
src/client/App.css
src/client/include.scss
src/client/index.css
src/client/index.css.d.ts
src/client/components
src/client/components/Header.module.scss
src/client/components/Header.tsx
Running the command with any of these patterns fails as described.
tcm "src/client/*.css"
tcm 'src/client/*.css'
tcm 'src/client/**/*.css'
tcm 'src/client/**/*.scss'
tcm src/client/*.cssRunning the command without the pattern does produce output on *.css files but not *.scss files.
# works
tcm srcContext
This is a new project and I've used tcm successfully with *.css files. I haven't used it *.scss files.
Your Environment
- Version used: 0.9.1
- Operating System and versions: Mac OS 14.4.1 (23E224)
- Link to your project: private
Srh07
Metadata
Metadata
Assignees
Labels
No labels