Skip to content

Commit

Permalink
ensure CurrentUser is available in ondemand.d files
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Nov 18, 2024
1 parent bf4ca93 commit cfe4b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/config/configuration_singleton.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'pathname'
require 'dotenv'
require_relative '../lib/current_user'

# Dashboard app specific configuration singleton definition
# following the first proposal in:
Expand Down
2 changes: 2 additions & 0 deletions apps/dashboard/lib/current_user.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require 'etc'

# The CurrentUser class represents the current user on the system from Etc.
# It has a name, a home directory, gid, uid and so on.
#
Expand Down

0 comments on commit cfe4b01

Please sign in to comment.