Skip to content

Conversation

@fighterlyt
Copy link

@fighterlyt fighterlyt commented May 14, 2018

More information when the project path is wrong

项目路径错误时,提供更多信息
@wgliang wgliang changed the title Update main.go More information when the project path is wrong May 14, 2018
_, err := os.Stat(*projectPath)
if err != nil {
log.Fatal("project path is invalid")
log.Fatal("project path is invalid"+err.Error())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log.Fatalf("project path is invalid:%v\n", err.Error())

will be better!

@codecov-io
Copy link

codecov-io commented May 14, 2018

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   31.86%   31.86%           
=======================================
  Files          18       18           
  Lines        1274     1274           
=======================================
  Hits          406      406           
  Misses        829      829           
  Partials       39       39

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7af1540...261465a. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants