Skip to content

Commit fc4cf90

Browse files
CopilotJoshLove-msft
authored andcommitted
Add log statement for fallback to package path
Co-authored-by: JoshLove-msft <[email protected]>
1 parent 99b16ae commit fc4cf90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/common/pipelines/templates/archetype-typespec-emitter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ extends:
161161
162162
# If we still don't have an identifier, fall back to filename
163163
if ([string]::IsNullOrWhiteSpace($emitterIdentifier)) {
164+
Write-Host "Warning: Could not read emitter name from package.json, falling back to package path"
164165
$emitterIdentifier = [System.IO.Path]::GetFileNameWithoutExtension($emitterPackagePath)
165166
}
166167

0 commit comments

Comments
 (0)