File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ func (c *RepoRemoveCmd) Run(ctx *Context) error {
170170const ExtDsc = ".dsc"
171171const ExtDeb = ".deb"
172172const ExtUdeb = ".ubed"
173- const ExtChanged = ".changes"
173+ const ExtChanges = ".changes"
174174
175175type RepoAddCmd struct {
176176 ForceReplace bool `kong:"name='force-replace'"`
@@ -302,7 +302,7 @@ func (c *RepoIncludeCmd) Run(ctx *Context) error {
302302 err := filepath .Walk (c .Path , func (path string , info os.FileInfo , err error ) error {
303303 if ! info .IsDir () {
304304 extension := filepath .Ext (path )
305- if extension == ExtChanged {
305+ if extension == ExtChanges {
306306 filesToUpload = append (filesToUpload , path )
307307 referenced , err := getFilesFromChanges (path )
308308 if err != nil {
@@ -321,7 +321,7 @@ func (c *RepoIncludeCmd) Run(ctx *Context) error {
321321 }
322322 case mode .IsRegular ():
323323 extension := filepath .Ext (c .Path )
324- if extension == ".changes" {
324+ if extension == ExtChanges {
325325 filesToUpload = append (filesToUpload , c .Path )
326326 referenced , err := getFilesFromChanges (c .Path )
327327 if err != nil {
You can’t perform that action at this time.
0 commit comments