Skip to content
Snippets Groups Projects
Commit 7453ea18 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(composer): --ignore-platform-reqs

parent 0e18b51d
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,9 @@ async function getLockFile(
await fs.outputFile(composerLockFileName, existingComposerLockContent);
const env = { HOME: process.env.HOME, PATH: process.env.PATH };
const startTime = process.hrtime();
const cmd = ('composer update ' + updatedDeps.join(' ')).trim();
const cmd =
('composer update ' + updatedDeps.join(' ')).trim() +
' --ignore-platform-reqs';
logger.debug({ cmd });
({ stdout, stderr } = await exec(cmd, {
cwd: tmpDir.path,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment