Closed
requested to merge github/fork/ghulamMustafaRaza/hotfix/remove-extra-repeating-code into master
Created by: ghulamMustafaRaza
I'm Noticed that this code repeat many and many times:
import('./features/env/ExpandEnvVariables').then(f =>
this.setFeature(f.default)
);
so i have created a function
setFeatureFromString(featureString) {
import(featureString).then(f =>
this.setFeature(f.default)
);
}
and use like this
this.setFeatureFromString('./features/env/ExpandEnvVariables')