File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed
Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -4104,7 +4104,13 @@ class Configuration {
41044104 }
41054105}
41064106
4107- const run = ( config ) => {
4107+ const run = async ( config ) => {
4108+ if ( config . verbose ) {
4109+ await exec . exec ( 'flatpak --version' )
4110+ await exec . exec ( 'flatpak-builder --version' )
4111+ await exec . exec ( 'ostree --version' )
4112+ }
4113+
41084114 const args = [
41094115 'build-update-repo' ,
41104116 '--generate-static-deltas' ,
Original file line number Diff line number Diff line change @@ -15,7 +15,13 @@ class Configuration {
1515 }
1616}
1717
18- const run = ( config ) => {
18+ const run = async ( config ) => {
19+ if ( config . verbose ) {
20+ await exec . exec ( 'flatpak --version' )
21+ await exec . exec ( 'flatpak-builder --version' )
22+ await exec . exec ( 'ostree --version' )
23+ }
24+
1925 const args = [
2026 'build-update-repo' ,
2127 '--generate-static-deltas' ,
Original file line number Diff line number Diff line change @@ -328,6 +328,12 @@ const prepareBuild = async (config) => {
328328 * @param {Configuration} config The build configuration
329329 */
330330const run = async (config) => {
331+ if (config.verbose) {
332+ await exec.exec('flatpak --version')
333+ await exec.exec('flatpak-builder --version')
334+ await exec.exec('ostree --version')
335+ }
336+
331337 let cacheHitKey
332338 try {
333339 cacheHitKey = await prepareBuild(config)
Original file line number Diff line number Diff line change @@ -322,6 +322,12 @@ const prepareBuild = async (config) => {
322322 * @param {Configuration } config The build configuration
323323 */
324324const run = async ( config ) => {
325+ if ( config . verbose ) {
326+ await exec . exec ( 'flatpak --version' )
327+ await exec . exec ( 'flatpak-builder --version' )
328+ await exec . exec ( 'ostree --version' )
329+ }
330+
325331 let cacheHitKey
326332 try {
327333 cacheHitKey = await prepareBuild ( config )
You can’t perform that action at this time.
0 commit comments