Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
009b5091
Commit
009b5091
authored
Jun 05, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
command/build: Output nothign if artifact is nil
parent
9bb24e6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
command/build/command.go
command/build/command.go
+6
-1
No files found.
command/build/command.go
View file @
009b5091
...
...
@@ -183,7 +183,12 @@ func (c Command) Run(env packer.Environment, args []string) int {
env
.
Ui
()
.
Say
(
"
\n
==> The build completed! The artifacts created were:"
)
for
name
,
artifact
:=
range
artifacts
{
env
.
Ui
()
.
Say
(
fmt
.
Sprintf
(
"--> %s:"
,
name
))
if
artifact
!=
nil
{
env
.
Ui
()
.
Say
(
artifact
.
String
())
}
else
{
env
.
Ui
()
.
Say
(
"<nothing>"
)
}
}
return
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment