mirror of
https://github.com/Gu1llaum-3/sshm.git
synced 2026-04-28 13:51:51 +02:00
fix(cmd): export variables for test accessibility
Export rootCmd->RootCmd and appVersion->AppVersion to fix test compilation errors. Update all references across cmd package and tests.
This commit is contained in:
@@ -24,5 +24,5 @@ var moveCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(moveCmd)
|
||||
RootCmd.AddCommand(moveCmd)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user