Skip to content

Commit 7267177

Browse files
committed
Remove .env from source and update editor.js check condition
1 parent bc073cf commit 7267177

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

bin/start.sh

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
source .env
1716
source ./bin/includes.sh
1817

1918
printf "Starting up containers ..."

tests/e2e/config/bootstrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function observeConsoleLogging() {
130130
async function removeBeforeunloadEvents() {
131131
await page.setRequestInterception( true );
132132
await page.on( 'request', async request => {
133-
if ( request.url().includes( 'dist/editor.js' ) ) {
133+
if ( request.url().match( /dist\/editor(\.min)?\.js/ ) ) {
134134
fetch( request.url() )
135135
.then( response => response.text() )
136136
.then( response => {

0 commit comments

Comments
 (0)