When using serverless-compose to deploy services the current working directory is set to the cwd of the shell. This also occurs when using the --config flag to define the path to the serverless.yml in a different directory.
This PR sets the cwd used by globby to find the GraphQL schema files to the directory of the serverless.yml of the service which matches the behavior described in the documentation.
When using serverless-compose to deploy services the current working directory is set to the cwd of the shell. This also occurs when using the
--config
flag to define the path to theserverless.yml
in a different directory.This PR sets the cwd used by globby to find the GraphQL schema files to the directory of the
serverless.yml
of the service which matches the behavior described in the documentation.