Skip to content

Commit

Permalink
Add line ending to warning message (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson authored Mar 8, 2022
1 parent 7384d2c commit 33203ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func checkForGitAndDockerHub(allFiles []parser_struct.UpdatedRepo, spec *godo.Ap
func makeImageSpec(updatedRepo parser_struct.UpdatedRepo) *godo.ImageSourceSpec {

if updatedRepo.Image.RegistryType == "" {
fmt.Print("::warning::Updating images without an ImageSourceSpec is deprecated. Please See: https://github.com/digitalocean/app_action/issues/10")
fmt.Println("::warning::Updating images without an ImageSourceSpec is deprecated. Please See: https://github.com/digitalocean/app_action/issues/10")
repos := strings.Split(updatedRepo.Repository, `/`)
repo := repos[len(repos)-1]
return &godo.ImageSourceSpec{
Expand Down

0 comments on commit 33203ad

Please sign in to comment.