Project

General

Profile

Refactor #31086

Use __dir__ instead of File.dirname(__FILE__)

Added by Ewoud Kohl van Wijngaarden over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

This is equivalent, but shorter and easier to read.

Associated revisions

Revision 9e94486a (diff)
Added by Ewoud Kohl van Wijngaarden over 2 years ago

Fixes #31086 - Use dir when possible

dir is equal to File.dirname(FILE) and easier to read.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/776 added

#2 Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 2.3.0 added

#3 Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/smart-proxy/pull/792 added

#5 Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Pull request deleted (https://github.com/theforeman/smart-proxy/pull/792)

Also available in: Atom PDF