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

macOS problemam with subfolders #46

Open
gianlucanigro opened this issue Oct 7, 2023 · 1 comment
Open

macOS problemam with subfolders #46

gianlucanigro opened this issue Oct 7, 2023 · 1 comment

Comments

@gianlucanigro
Copy link

gianlucanigro commented Oct 7, 2023

Platform

macOS monterey M1 Max processor Node 18.17.0 npm 9.6.7

If I define a script in package.json with

cpy 'prisma/parts/schema.prisma' 'prisma/'

and I run nom run script from the project root folder a prisma folder is created under the prisma folder in the project root

instead of copying schema.prisma from prisma/parts in prisma

Tested both 4.2.0 and 5.0.0, with version 3.1.1 the behaviour is correct

@gian1200
Copy link

This is not a macOS only issue. It also happens on Windows. This issue seems to be happening when copying single files only.
It doesn't happen when using blobs.

In your example, this is a workaround I've found:

cpy 'prisma/parts/*schema.prisma' 'prisma/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants