Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
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
Kirill Smelkov
gitlab-workhorse
Commits
72bad97f
Commit
72bad97f
authored
Jan 21, 2016
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use fmt, not log for subprocess errors
parent
7fb38099
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cmd/gitlab-zip-cat/main.go
cmd/gitlab-zip-cat/main.go
+1
-2
No files found.
cmd/gitlab-zip-cat/main.go
View file @
72bad97f
...
@@ -6,7 +6,6 @@ import (
...
@@ -6,7 +6,6 @@ import (
"flag"
"flag"
"fmt"
"fmt"
"io"
"io"
"log"
"os"
"os"
)
)
...
@@ -73,7 +72,7 @@ func findFileInZip(fileName string, archive *zip.Reader) *zip.File {
...
@@ -73,7 +72,7 @@ func findFileInZip(fileName string, archive *zip.Reader) *zip.File {
}
}
func
printError
(
err
error
)
{
func
printError
(
err
error
)
{
log
.
Printf
(
"%s: %v"
,
progName
,
err
)
fmt
.
Fprintf
(
os
.
Stderr
,
"%s: %v"
,
progName
,
err
)
}
}
func
fatalError
(
err
error
)
{
func
fatalError
(
err
error
)
{
...
...
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