Skip to content

Commit 9ed6700

Browse files
Merge pull request #123 from WordPress/ignore-node-modules-rsync
Also exclude `node_modules/` from rsync
2 parents c71f288 + 9897ce0 commit 9ed6700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
}
114114

115115
perform_operations( array(
116-
'rsync ' . $rsync_options . ' --exclude=".git/" -e "ssh ' . $WPT_SSH_OPTIONS . '" ' . escapeshellarg( trailingslashit( $WPT_PREPARE_DIR ) ) . ' ' . escapeshellarg( $WPT_SSH_CONNECT . ':' . $WPT_TEST_DIR ),
116+
'rsync ' . $rsync_options . ' --exclude=".git/" --exclude="node_modules/" -e "ssh ' . $WPT_SSH_OPTIONS . '" ' . escapeshellarg( trailingslashit( $WPT_PREPARE_DIR ) ) . ' ' . escapeshellarg( $WPT_SSH_CONNECT . ':' . $WPT_TEST_DIR ),
117117
) );
118118
}
119119

0 commit comments

Comments
 (0)