bolt-modules/file/lib/puppet/functions/file/join.rb in bolt-2.9.0 vs bolt-modules/file/lib/puppet/functions/file/join.rb in bolt-2.10.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-# Join file paths.
+# Join file paths using ruby's `File.join()` function.
Puppet::Functions.create_function(:'file::join') do
# @param paths The paths to join.
# @return The joined file path.
# @example Join file paths
# file::join('./path', 'to/files')