Skip to content

Commit

Permalink
lint a random file (OSC#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
osc-bot authored Aug 25, 2023
1 parent 27d04e9 commit 8e72f06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/dashboard/config/examples/awesim/initializers/ood.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# frozen_string_literal: true

# AweSim OOD config

OodFilesApp.candidate_favorite_paths.tap do |paths|
# add project space directories
projects = User.new.groups.map(&:name).grep(/^P./)
paths.concat projects.map { |p| Pathname.new("/fs/project/#{p}") }
paths.concat projects.map { |p| Pathname.new("/fs/project/#{p}") }

# add scratch space directories
paths << Pathname.new("/fs/scratch/#{User.new.name}")
paths.concat projects.map { |p| Pathname.new("/fs/scratch/#{p}") }
paths.concat projects.map { |p| Pathname.new("/fs/scratch/#{p}") }
end

# don't show develop dropdown unless you are setup for app sharing
Expand Down

0 comments on commit 8e72f06

Please sign in to comment.