From 97e282c1a2dd312518ed99f8db3897f8c6e8d329 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 23 May 2024 23:37:51 -0300 Subject: [PATCH] Add 'Twenty.build' docs --- client/lib/twenty/client.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/lib/twenty/client.rb b/client/lib/twenty/client.rb index 433fe5f..d9af8d7 100644 --- a/client/lib/twenty/client.rb +++ b/client/lib/twenty/client.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true module Twenty + ## + # @return [String] + # Returns an absolute path to the nanoc build/ directory def self.build - File.expand_path File.join(__dir__, "..", "..", "build") + File.realpath File.join(__dir__, "..", "..", "build") end end