Skip to content

Commit

Permalink
feat(develop): 验证参数数据
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu committed May 29, 2020
1 parent 65c5de4 commit f6ecb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var initCmd = &cobra.Command{
cmd.Help()
os.Exit(0)
}
if AppURL == "" {
if install.PkgUrl == "" {
logger.Error("your pkg-url is empty,please check your command is ok?")
cmd.Help()
os.Exit(0)
Expand Down

0 comments on commit f6ecb3b

Please sign in to comment.