mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Add them already, they should pass even without scope hoisting.
13 lines
225 B
Bash
13 lines
225 B
Bash
# Goes through all subfolders of $folder and moves all files into a new "input" subdirectory
|
|
|
|
|
|
folder=scope-hoisting
|
|
|
|
set -e
|
|
shopt -s extglob
|
|
|
|
for f in "$folder"/*; do
|
|
mkdir -p "$f/input"
|
|
mv "$f"/!(input) "$f"/input
|
|
done
|