Skip to content

Commit

Permalink
Fix some vendor paths
Browse files Browse the repository at this point in the history
  • Loading branch information
anomiex committed Jan 20, 2025
1 parent d8cdec9 commit 02f6a7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions projects/plugins/wpcomsh/bin/i18n/generate-pot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ find -L . \
-or -path './vendor/*/wordpress' \
-or -path './vendor/*/node_modules' \
-or -path './vendor/*/jetpack_vendor' \
-or -path './jetpack_vendor/*/vendor' \
-or -path './jetpack_vendor/*/wordpress' \
-or -path './jetpack_vendor/*/node_modules' \
-or -path './jetpack_vendor/*/jetpack_vendor' \
\) \
-prune \
-or \
-name '*.php' -and ! -path './build/*' -and ! -path './custom-colors/*' \
-and \( \
! -path './vendor/*' \
-or -path './vendor/automattic/jetpack-mu-wpcom/*' \
-or -path './vendor/automattic/at-pressable-podcasting/*' \
-or -path './vendor/automattic/custom-fonts-typekit/*' \
-or -path './vendor/automattic/custom-fonts/*' \
-or -path './vendor/automattic/jetpack-assets/*' \
-or -path './vendor/automattic/jetpack-config/*' \
-or -path './vendor/automattic/jetpack-post-list/*' \
\) \
-print \
| sed -e 's,^\./,,' \
Expand Down
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/lib/class.color.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
// phpcs:ignoreFile WordPress.Files.FileName.NotHyphenatedLowercase

// Dummy comment to make phpcs happy.
require_once WPCOMSH__PLUGIN_DIR_PATH . '/vendor/automattic/jetpack-classic-theme-helper/_inc/lib/class.color.php';
require_once WPCOMSH__PLUGIN_DIR_PATH . '/jetpack_vendor/automattic/jetpack-classic-theme-helper/_inc/lib/class.color.php';
2 changes: 1 addition & 1 deletion projects/plugins/wpcomsh/lib/tonesque.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
*/

// Dummy comment to make phpcs happy.
require_once WPCOMSH__PLUGIN_DIR_PATH . '/vendor/automattic/jetpack-classic-theme-helper/_inc/lib/tonesque.php';
require_once WPCOMSH__PLUGIN_DIR_PATH . '/jetpack_vendor/automattic/jetpack-classic-theme-helper/_inc/lib/tonesque.php';

0 comments on commit 02f6a7b

Please sign in to comment.