Skip to content

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
langalex committed Jan 22, 2025
1 parent f9a1e2a commit b6344f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/cms_assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ namespace :comfy do
puts 'Compiling assets...'
dir = File.expand_path("#{__dir__}/..")
Dir.chdir(dir) do
unless system("npm install")
unless system('npm install')
puts 'Error: Failed to install npm packages.'
exit(-1)
end
unless system("npm run build && npm run build:css")
unless system('npm run build && npm run build:css')
puts 'Error: Failed to compile assets'
exit(-1)
end
end
end
end
end

0 comments on commit b6344f1

Please sign in to comment.