mirror of
https://github.com/strapi/strapi.git
synced 2025-10-30 01:17:28 +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,
|
strapiVersion: require('../package.json').version,
|
||||||
debug: cliArguments.debug !== undefined,
|
debug: cliArguments.debug !== undefined,
|
||||||
quick: cliArguments.quickstart !== undefined,
|
quick: cliArguments.quickstart !== undefined,
|
||||||
docker: cliArguments.docker !== undefined,
|
docker: process.env.DOCKER === 'true',
|
||||||
uuid: uuid(),
|
uuid: uuid(),
|
||||||
deviceId: machineIdSync(),
|
deviceId: machineIdSync(),
|
||||||
tmpPath,
|
tmpPath,
|
||||||
@ -66,6 +66,7 @@ module.exports = (projectDirectory, cliArguments) => {
|
|||||||
os_release: os.release(),
|
os_release: os.release(),
|
||||||
strapi_version: scope.strapiVersion,
|
strapi_version: scope.strapiVersion,
|
||||||
node_version: process.version,
|
node_version: process.version,
|
||||||
|
docker: scope.docker,
|
||||||
};
|
};
|
||||||
|
|
||||||
Object.keys(tags).forEach(tag => {
|
Object.keys(tags).forEach(tag => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user