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
Command generate detects if the source path is a directory, and scans its contents if it is. This was done so running migrate generate . destination would create map the current directory contents to destination. However, running migrate generate source destination would map the contents of source (rather than source itself) to destination. This might not be preferable. Ideally, running that command maps source itself to destination. To map the contents of source, a trailing slash can be added (i.e. source/). . can be treated as a special exception to preserve the default behavior.
The text was updated successfully, but these errors were encountered:
Command
generate
detects if the source path is a directory, and scans its contents if it is. This was done so runningmigrate generate . destination
would create map the current directory contents todestination
. However, runningmigrate generate source destination
would map the contents ofsource
(rather thansource
itself) todestination
. This might not be preferable. Ideally, running that command mapssource
itself todestination
. To map the contents ofsource
, a trailing slash can be added (i.e.source/
)..
can be treated as a special exception to preserve the default behavior.The text was updated successfully, but these errors were encountered: