We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3df81 commit c33711dCopy full SHA for c33711d
samples/docs.sh
@@ -28,4 +28,6 @@ cp "${SCRIPT_DIR}/${NAME}/index.html" "${DOCS_DIR}/index.html"
28
cp "${SCRIPT_DIR}/${NAME}/style.css" "${DOCS_DIR}/style.css"
29
30
# Copy the data folder if one is found.
31
-# [ -d "public" ] && cp -r public/* "${DOCS_DIR}/"
+if [ -d "public" ] && [ "$(ls -A public)" ]; then
32
+ cp -r public/* "${DOCS_DIR}/"
33
+fi
0 commit comments