mirror of
https://github.com/strapi/strapi.git
synced 2025-10-28 16:39:37 +00:00
Use environment variable instead of argument
This commit is contained in:
parent
773b89bc79
commit
cf9bcc2337
@ -39,7 +39,7 @@ module.exports = (projectDirectory, cliArguments) => {
|
||||
strapiVersion: require('../package.json').version,
|
||||
debug: cliArguments.debug !== undefined,
|
||||
quick: cliArguments.quickstart !== undefined,
|
||||
docker: cliArguments.docker !== undefined,
|
||||
docker: process.env.DOCKER === 'true',
|
||||
uuid: uuid(),
|
||||
deviceId: machineIdSync(),
|
||||
tmpPath,
|
||||
@ -66,6 +66,7 @@ module.exports = (projectDirectory, cliArguments) => {
|
||||
os_release: os.release(),
|
||||
strapi_version: scope.strapiVersion,
|
||||
node_version: process.version,
|
||||
docker: scope.docker,
|
||||
};
|
||||
|
||||
Object.keys(tags).forEach(tag => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user