ignore directories
This commit is contained in:
parent
465edd8740
commit
7db5b882d1
|
@ -16,7 +16,11 @@
|
||||||
<pre>
|
<pre>
|
||||||
<%=
|
<%=
|
||||||
Dir["#{secrets_base_dir}/**/*"].map do |path|
|
Dir["#{secrets_base_dir}/**/*"].map do |path|
|
||||||
path + "=" + File.read(path)
|
if File.directory?(path)
|
||||||
|
path + "={directory}"
|
||||||
|
else
|
||||||
|
path + "=" + File.read(path)
|
||||||
|
end
|
||||||
end.join("\n")
|
end.join("\n")
|
||||||
%>
|
%>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
Loading…
Reference in New Issue