mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix code style for older versions
This commit is contained in:
@@ -48,15 +48,12 @@ class EnvironmentVariableAsync {
|
||||
* @returns {Promise<any>} The return value of the function
|
||||
*/
|
||||
withValue(value, func, options = {}) {
|
||||
const self = this;
|
||||
const slotCall = Meteor._getValueFromAslStore(SLOT_CALL_KEY);
|
||||
const dynamics =
|
||||
Meteor._getValueFromAslStore(UPPER_CALL_DYNAMICS_KEY_NAME) || {};
|
||||
const slotCall = Meteor._getValueFromAslStore(SLOT_CALL_KEY);
|
||||
|
||||
const self = this;
|
||||
self.upperCallDynamics = {
|
||||
...dynamics,
|
||||
[slotCall]: Meteor._getValueFromAslStore(CURRENT_VALUE_KEY_NAME),
|
||||
};
|
||||
dynamics[slotCall] = Meteor._getValueFromAslStore(CURRENT_VALUE_KEY_NAME);
|
||||
self.upperCallDynamics = dynamics;
|
||||
return Meteor._runAsync(
|
||||
async function () {
|
||||
let ret;
|
||||
|
||||
Reference in New Issue
Block a user