• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kcl-lang / cli
37%
main: 16%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/spf13/cobra-1.10.0
DEFAULT BRANCH: main
Repo Added 24 Oct 2023 03:12AM UTC
Token NzC29UHkLY3mkLSUgvV1Sya7e9PwEbHuL regen
Build 756 Last
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-run-npe
branch: fix-run-npe
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-run-npe
  • add-brew-and-scoop-template
  • add-ca-certificates-in-image
  • add-e2e-tests
  • add-kcl-lsp-release-using-hook
  • add-mod-spec
  • add-mod-update
  • add-run-entry-for-test
  • add-single-module-folder-with-kcl-mod-run-kind
  • bug/tini-arm64
  • bump-kcl-0.7
  • bump-kcl-080-stable
  • bump-kcl-090-beta
  • bump-kcl-go-090-latest
  • bump-kcl-go-version-to075
  • bump-kcl-version-0.7.0-alpha.2
  • bump-kpm-kcl-go-0.10.x-alpha
  • bump-kpm-version
  • bump-release-image
  • bump-version
  • bump-version-0.11.2
  • bump_go_124
  • bump_purego
  • chore-adjust-ci-test
  • chore-bump-kcl-086
  • chore-bump-kcl-go-and-kpm-to-0.10.0-beta.2
  • chore-bump-kcl-openapi-version-and-keep-order
  • chore-bump-kcl-version-0.10.3
  • chore-bump-lib-085
  • chore-update-image-e2e-test-tag
  • chore-update-kcl-and-kcl-openapi-version
  • chore-update-version-to-0.11.1
  • ci-concurrent-test
  • ci-image-test
  • delete_helpmsg_path
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/contributor-assistant/github-action-2.3.1
  • dependabot/github_actions/contributor-assistant/github-action-2.3.2
  • dependabot/github_actions/contributor-assistant/github-action-2.4.0
  • dependabot/github_actions/docker/build-push-action-5
  • dependabot/github_actions/docker/build-push-action-6
  • dependabot/github_actions/docker/login-action-3
  • dependabot/github_actions/docker/login-action-3.4.0
  • dependabot/github_actions/docker/login-action-3.5.0
  • dependabot/github_actions/docker/metadata-action-5
  • dependabot/github_actions/docker/metadata-action-5.6.1
  • dependabot/github_actions/docker/metadata-action-5.7.0
  • dependabot/github_actions/docker/metadata-action-5.8.0
  • dependabot/github_actions/goreleaser/goreleaser-action-5
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/go_modules/github.com/fatih/color-1.16.0
  • dependabot/go_modules/github.com/fatih/color-1.17.0
  • dependabot/go_modules/github.com/fatih/color-1.18.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.12.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.13.4
  • dependabot/go_modules/github.com/goccy/go-yaml-1.13.7
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.10
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.13
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.15
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.17
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.19
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.23
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.5
  • dependabot/go_modules/github.com/goccy/go-yaml-1.15.8
  • dependabot/go_modules/github.com/goccy/go-yaml-1.16.0
  • dependabot/go_modules/github.com/goccy/go-yaml-1.17.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.15.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.16.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.17.3
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.19.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.20.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.21.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.0
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.2
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.23.4
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.25.1
  • dependabot/go_modules/github.com/onsi/ginkgo/v2-2.25.2
  • dependabot/go_modules/github.com/onsi/gomega-1.31.1
  • dependabot/go_modules/github.com/onsi/gomega-1.32.0
  • dependabot/go_modules/github.com/onsi/gomega-1.33.0
  • dependabot/go_modules/github.com/onsi/gomega-1.33.1
  • dependabot/go_modules/github.com/onsi/gomega-1.34.0
  • dependabot/go_modules/github.com/onsi/gomega-1.34.2
  • dependabot/go_modules/github.com/onsi/gomega-1.35.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.0
  • dependabot/go_modules/github.com/onsi/gomega-1.36.1
  • dependabot/go_modules/github.com/onsi/gomega-1.36.2
  • dependabot/go_modules/github.com/onsi/gomega-1.37.0
  • dependabot/go_modules/github.com/onsi/gomega-1.38.0
  • dependabot/go_modules/github.com/onsi/gomega-1.38.1
  • dependabot/go_modules/github.com/onsi/gomega-1.38.2
  • dependabot/go_modules/github.com/otiai10/copy-1.14.0
  • dependabot/go_modules/github.com/otiai10/copy-1.14.1
  • dependabot/go_modules/github.com/spf13/cobra-1.10.0
  • dependabot/go_modules/github.com/spf13/cobra-1.8.0
  • dependabot/go_modules/github.com/spf13/cobra-1.8.1
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/github.com/spf13/pflag-1.0.6
  • dependabot/go_modules/github.com/spf13/pflag-1.0.7
  • dependabot/go_modules/github.com/spf13/pflag-1.0.9
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/golang.org/x/mod-0.18.0
  • dependabot/go_modules/golang.org/x/mod-0.19.0
  • dependabot/go_modules/golang.org/x/mod-0.20.0
  • dependabot/go_modules/golang.org/x/mod-0.21.0
  • dependabot/go_modules/golang.org/x/mod-0.22.0
  • dependabot/go_modules/golang.org/x/mod-0.23.0
  • dependabot/go_modules/golang.org/x/mod-0.25.0
  • dependabot/go_modules/golang.org/x/mod-0.26.0
  • dependabot/go_modules/golang.org/x/mod-0.27.0
  • dependabot/go_modules/gotest.tools/v3-3.5.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.1
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.2
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.11.3
  • dependabot/go_modules/kcl-lang.io/kcl-go-0.8.2
  • dependabot/go_modules/kcl-lang.io/kcl-plugin-0.11.0
  • dependabot/go_modules/kcl-lang.io/kpm-0.11.2
  • dependabot/go_modules/kcl-lang.io/kpm-0.7.0
  • dependabot/go_modules/kcl-lang.io/kpm-0.9.0-rc.1
  • ench/209
  • enhance-clean-cmd
  • enhance-vet-cli-input
  • feat-add-diagnostic
  • feat-add-playgound-command
  • feat-add-queit-for-all-mod-cmd
  • feat-all-subcommands
  • feat-default-settings-file
  • feat-groupby-different-crd-version-files
  • feat-import-from-toml
  • feat-kcl-mod-rename-and-no-sum-check-flag
  • feat-kclx-cli-with-plugin
  • feat-plugin-framework
  • feat-run-command
  • feat-run-git-entry
  • feat-run-stdin-entry
  • feat-show-hidden-flag
  • feat-support-multiple-crd-import
  • feat-test-tool-cli
  • feat-toml-format
  • feaure/add_force
  • file-expand-for-import-tool
  • fix-cli-doc
  • fix-cli-output-trunc
  • fix-client-default-logger-to-stdout
  • fix-completion-cmd
  • fix-crd-groupby
  • fix-entry-with-pkg-deps
  • fix-example-tests
  • fix-fail-test
  • fix-git-repo-run
  • fix-image-ci
  • fix-image-lib-home-env
  • fix-json-output-sort-keys
  • fix-kcl-arm64-image-release
  • fix-kcl-lsp-install-scirpts-on-windows
  • fix-missing-print
  • fix-missing-print-09
  • fix-oci-source
  • fix-run-echo
  • fix-wrong-artifact-env-in-dockerfile
  • fix-wrong-crd-import-options
  • fix_image
  • fix_version
  • format-cli-documents
  • init-version-option
  • kcl-arm64-image
  • kcl-arm64-image-test
  • kpm-related-cmd-migration
  • latest
  • login_stdin
  • main
  • mod-add-url
  • mod-graph-cmd
  • more-e2e-test
  • not_block_pr
  • pull-mod-spec
  • refactor-image-release
  • refactor-mod-graph
  • refactor-vet-cli
  • refs/tags/v0.10.0-beta.1
  • refs/tags/v0.6.0
  • refs/tags/v0.6.0-alpha.4
  • refs/tags/v0.6.0-alpha.5
  • refs/tags/v0.6.0-alpha.6
  • refs/tags/v0.7.0
  • refs/tags/v0.7.0-alpha.1
  • refs/tags/v0.7.0-alpha.2
  • refs/tags/v0.7.0-beta.1
  • refs/tags/v0.7.0-beta.2
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.7.3-alpha.1
  • refs/tags/v0.7.4
  • refs/tags/v0.7.5
  • refs/tags/v0.8.0
  • refs/tags/v0.8.0-alpha.1
  • refs/tags/v0.8.0-beta.1
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.8.3
  • refs/tags/v0.8.4
  • refs/tags/v0.8.5
  • refs/tags/v0.8.6
  • refs/tags/v0.8.7
  • refs/tags/v0.8.8
  • refs/tags/v0.8.9
  • refs/tags/v0.9.0
  • refs/tags/v0.9.0-alpha.1
  • refs/tags/v0.9.0-beta.1
  • refs/tags/v0.9.0-rc.1
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2
  • refs/tags/v0.9.3
  • refs/tags/v0.9.4
  • refs/tags/v0.9.5
  • refs/tags/v0.9.6
  • refs/tags/v0.9.7
  • refs/tags/v0.9.8
  • release-0.7.1
  • release-0.9
  • release-090-tag
  • release-img
  • rename_registry
  • rm-modfile-update
  • run-mod-spec
  • server-command
  • set-log-to-stdout
  • support-add-rename
  • support-relative-path
  • supports-tls-flag
  • test-e2e-on-all-platforms
  • test-image-release
  • test-kcl-mod-pull-in-image
  • try-git-clone-in-kcl-image
  • unify-pull-cli
  • unify-run-cli
  • update_workflow
  • zzz

25 Dec 2023 12:42PM UTC coverage: 37.025% (+5.1%) from 31.962%
7321872954

Pull #30

github

zong-zhe
fix: fix the npe when 'kcl mod run'

Signed-off-by: zongz <zongzhe1024@163.com>
Pull Request #30: fix: fix the npe when 'kcl mod run'

1 of 1 new or added line in 1 file covered. (100.0%)

117 of 316 relevant lines covered (37.03%)

0.41 hits per line

Relevant lines Covered
Build:
Build:
316 RELEVANT LINES 117 COVERED LINES
0.41 HITS PER LINE
Source Files on fix-run-npe
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
7321872954 fix-run-npe fix: fix the npe when 'kcl mod run' Signed-off-by: zongz <zongzhe1024@163.com> Pull #30 25 Dec 2023 12:49PM UTC zong-zhe github
37.03
See All Builds (728)

Badge your Repo: cli

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc