Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
mkdirp
  • Loading branch information
paulirish committed Sep 5, 2019
commit 565207b2dba16adc6136b2d1f92396ad43e6a0f1
1 change: 1 addition & 0 deletions lighthouse-core/scripts/roll-to-devtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ echo -e "$check Report resources copied."
lh_locales_dir="lighthouse-core/lib/i18n/locales"
fe_locales_dir="$frontend_dir/audits_worker/lighthouse/locales"

mkdir -p "$fe_locales_dir"
find $lh_locales_dir -name '*.json' ! -name '*.ctc.json' -exec cp {} "$fe_locales_dir" \;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine as long as the folder is guaranteed to exist. might suggest a quick mkdir -p $fe_locales_dir to be explicit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, especially while it's not landed.

echo -e "$check Locale JSON files copied."

Expand Down