mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 13:15:17 +03:00
fix minor qtrcc issue
This commit is contained in:
parent
e94fc48f4a
commit
7038382d6c
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ func main() {
|
|||
utils.Log.WithError(err).WithField("path", path).Fatal("can't resolve absolute path")
|
||||
}
|
||||
}
|
||||
if !filepath.IsAbs(output) {
|
||||
if output != "" && !filepath.IsAbs(output) {
|
||||
output, err = filepath.Abs(output)
|
||||
if err != nil {
|
||||
utils.Log.WithError(err).WithField("output", output).Fatal("can't resolve absolute path")
|
||||
|
|
Loading…
Reference in a new issue