Skip to content

Commit f04663b

Browse files
anandaraoswalkowski
authored andcommitted
Adding shopt-s dotglob to converter. (#27)
This fixes the issue where some hidden files are not moved.
1 parent 518f2d0 commit f04663b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

converter/convert

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ set -e
77

88
echo 'Starting function to app conversion'
99

10+
shopt -s dotglob
1011
temp_dir=$(mktemp -d)
1112
mv * ${temp_dir}
1213
mkdir functions
1314
mv ${temp_dir}/* functions
15+
shopt -u dotglob
1416

1517
if [[ ! -f functions/package.json ]]; then
1618
echo 'Handling functions without package.json'

0 commit comments

Comments
 (0)