Skip to content

Commit bc70e59

Browse files
committed
Rename variables list constant to better reflect use cases
1 parent 32855d4 commit bc70e59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/runner/extensions/event.command.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var _ = require('lodash'),
2525

2626
EXECUTION_VAULT_BASE = 'execution.vault.',
2727

28-
CONTEXT_VARIABLE_SCOPES = ['_variables', 'environment', 'globals'],
28+
SYNCABLE_CONTEXT_VARIABLE_SCOPES = ['_variables', 'environment', 'globals'],
2929

3030
COOKIES_EVENT_STORE_ACTION = 'store',
3131
COOKIE_STORE_PUT_METHOD = 'putCookie',
@@ -623,7 +623,7 @@ module.exports = {
623623
// All other global variables defined by syntax like 'a=1'
624624
// are anyway synced as the sandbox's common scope is shared across runs
625625
if (result) {
626-
CONTEXT_VARIABLE_SCOPES.forEach(function (type) {
626+
SYNCABLE_CONTEXT_VARIABLE_SCOPES.forEach(function (type) {
627627
variableMutationsFromThisExecution[type] =
628628
!variableMutationsFromThisExecution[type] ?
629629
[result[type].mutations] :

0 commit comments

Comments
 (0)