Project

General

Profile

Actions

Bug #9714

open

Clean up requires inside hammer-cli gem

Added by Tomáš Strachota about 9 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Hammer's codebase contains multiple requires of the same files at various places, which can cause problems with code being defined twice.

We must either make sure each library file is required only once or always define full path to the file in 'hammer_cli/...' format. See http://ruby-doc.org/core-1.8.6/Kernel.html#method-i-require for additional details.


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #7635: warning: already initialized constant DEFAULT_LABEL_INDENTClosedAdam Price09/25/2014Actions
Actions

Also available in: Atom PDF