Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 21df33f

Browse files
danepowellgrasmash
authored andcommitted
Fixed composer errors on ACE. (#735)
1 parent 4d28cae commit 21df33f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phing/tasks/properties.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
</then>
3434
</if>
3535
<exec dir="${repo.root}" command="cat ${blt.config-files.schema-version}" outputProperty="blt.schema-version" checkreturn="true" logoutput="false" level="${blt.exec_level}"/>
36-
<exec dir="${repo.root}" command="composer info acquia/blt | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />
36+
<!-- Send errors to /dev/null, for environments like ACE without composer. -->
37+
<exec dir="${repo.root}" command="composer info acquia/blt 2> /dev/null | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />
3738

3839
<!--verbosityTask is used to set the verbosity level of Phing via a property. It is necessary because the -verbose, -debug, -silent, and -quiet command line options are not available as properties and cannot be utilized in task conditionals. -->
3940
<verbosityTask level="${blt.level}"/>

0 commit comments

Comments
 (0)