This repository is for vk definitions.
vk-definitions's Introduction
vk-definitions's People
vk-definitions's Issues
getting error "index out of range" while update terraform-docs
I observed that while update terraform-docs getting below error.
$ vk update terraform-docs
panic: runtime error: index out of range [1] with length 0
goroutine 1 [running]:
github.com/cellpointmobile/vk/program.(*Command).GetLocalVersion(0xc0001b0210, 0x0, 0x0)
/home/abo/sandbox/vk/program/command.go:47 +0x2ab
github.com/cellpointmobile/vk/program.IsLatestVersion(0xae8e60, 0xc0001b0210, 0x7fffa2b3037c)
/home/abo/sandbox/vk/program/funcs.go:38 +0x82
github.com/cellpointmobile/vk/cmd.glob..func7(0xe81240, 0xc0000937b0, 0x1, 0x1)
/home/abo/sandbox/vk/cmd/update.go:59 +0x51f
github.com/spf13/cobra.(*Command).execute(0xe81240, 0xc000093780, 0x1, 0x1, 0xe81240, 0xc000093780)
/home/abo/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:766 +0x2aa
github.com/spf13/cobra.(*Command).ExecuteC(0xe80b20, 0x43b54a, 0xe3ff60, 0xc000054750)
/home/abo/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2ea
github.com/spf13/cobra.(*Command).Execute(...)
/home/abo/gocode/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/cellpointmobile/vk/cmd.Execute()
/home/abo/sandbox/vk/cmd/root.go:51 +0x31
main.main()
/home/abo/sandbox/vk/main.go:20 +0x20
To fix this issue need to update VersionRegexp. I will raise PR.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.