Skip to content

Commit b8b3d0a

Browse files
committed
chore: fix eslint error
1 parent cf548d5 commit b8b3d0a

File tree

8 files changed

+338
-318
lines changed

8 files changed

+338
-318
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ composer.lock
1818
package-lock.json
1919
key.enc
2020
js/FeedzyBlock
21+
js/Conditions/
2122
js/Onboarding/
2223
js/ActionPopup/
2324
js/FeedBack/

includes/admin/feedzy-rss-feeds-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ public function enqueue_styles_admin() {
213213
)
214214
);
215215

216-
$asset_file = include FEEDZY_ABSPATH . '/js/build/conditions.asset.php';
217-
wp_enqueue_script( $this->plugin_name . '_conditions', FEEDZY_ABSURL . 'js/build/conditions.js', array_merge( $asset_file['dependencies'], array( 'wp-editor', 'wp-api' ) ), $asset_file['version'], true );
216+
$asset_file = include FEEDZY_ABSPATH . '/build/conditions/index.asset.php';
217+
wp_enqueue_script( $this->plugin_name . '_conditions', FEEDZY_ABSURL . 'build/conditions/index.js', array_merge( $asset_file['dependencies'], array( 'wp-editor', 'wp-api' ) ), $asset_file['version'], true );
218218

219219
// Add wp_localize_script to pass variables to the JS file with a filter over the data.
220220
wp_localize_script(

0 commit comments

Comments
 (0)