Skip to content

Commit 48131cc

Browse files
Copilotjamesadevine
andcommitted
fix(compile): implement review suggestions for job/stage template targets
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/fa2ca612-1703-4107-87c3-2b2ec35429b8 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
1 parent 58e0d62 commit 48131cc

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/compile/job.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
use anyhow::Result;
1111
use async_trait::async_trait;
12-
use log::{info, warn};
12+
use log::warn;
1313
use std::path::Path;
1414

1515
use super::Compiler;
@@ -36,8 +36,6 @@ impl Compiler for JobCompiler {
3636
skip_integrity: bool,
3737
debug_pipeline: bool,
3838
) -> Result<String> {
39-
info!("Compiling for job template target");
40-
4139
if front_matter.on_config.is_some() {
4240
warn!("on: trigger configuration is ignored for target: job (triggers are the parent pipeline's concern)");
4341
}

src/compile/stage.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
use anyhow::Result;
1919
use async_trait::async_trait;
20-
use log::{info, warn};
20+
use log::warn;
2121
use std::path::Path;
2222

2323
use super::Compiler;
@@ -44,8 +44,6 @@ impl Compiler for StageCompiler {
4444
skip_integrity: bool,
4545
debug_pipeline: bool,
4646
) -> Result<String> {
47-
info!("Compiling for stage template target");
48-
4947
if front_matter.on_config.is_some() {
5048
warn!("on: trigger configuration is ignored for target: stage (triggers are the parent pipeline's concern)");
5149
}

0 commit comments

Comments
 (0)