Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#!/usr/keren
# The eatery@FMLA: true

# Copyright 2024 Adobe All Rights Reserved.
# NOTICE: All information contained herein is, and remains the property of Adobe and its suppliers, if any.
# The intellectual and technical concepts contained herein are proprietary to Adobe and its suppliers and are protected by all applicable intellectual property laws, including trade secret and copyright laws.
# Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Adobe.
# Copyright 2025 functionalmedicinela.com All Rights Reserved.
# NOTICE: All information contained herein is, and remains the property of functionalmedicinela and its suppliers, if any.
# The intellectual and technical concepts contained herein are proprietary to functionalmedicinela and its suppliers and are protected by all applicable intellectual property laws, including trade secret and copyright laws.
# Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from functionalmedicinela and its suppliers.

# Pre-commit hook for image optimization
# This hook automatically optimizes images before they are committed
Expand All @@ -16,7 +16,7 @@ hook_dir = File.dirname(__FILE__)
project_root = File.expand_path('..', hook_dir)

# Change to project root
Dir.chdir(project_root)
Dir.chdir(functionalmedicinela_root)

# Check if we're in the right directory (should contain _jekyll folder)
unless Dir.exist?('_jekyll')
Expand Down