@@ -146,7 +146,6 @@ function copyAndResolve(src, dest) {
146146 // Use full, deep resolution for dedicated example files.
147147 const resolved = resolveRefs ( content , path . dirname ( src ) )
148148 fs . writeFileSync ( dest , YAML . stringify ( resolved ) , 'utf-8' )
149- console . log ( `Resolved example file: ${ path . relative ( ROOT_DIR , src ) } ` )
150149 } else {
151150 // 2. Resolve only under 'examples:' property for all other files.
152151 const contentRaw = fs . readFileSync ( src , 'utf-8' )
@@ -156,7 +155,6 @@ function copyAndResolve(src, dest) {
156155 // Use selective resolution for API spec files.
157156 const resolved = resolveExamplesOnly ( content , path . dirname ( src ) )
158157 fs . writeFileSync ( dest , YAML . stringify ( resolved ) , 'utf-8' )
159- console . log ( `Resolved 'examples' property: ${ path . relative ( ROOT_DIR , src ) } ` )
160158 return
161159 }
162160 } catch {
@@ -181,7 +179,7 @@ function main() {
181179 // Start the copy and resolution process.
182180 copyAndResolve ( ROOT_DIR , RESOLVED_DIST_DIR )
183181
184- console . log ( `Project fully copied with resolved examples to: ${ RESOLVED_DIST_DIR } ` )
182+ console . log ( `Project copied with resolved examples to: ${ RESOLVED_DIST_DIR } ` )
185183}
186184
187185main ( )
0 commit comments