Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta authored Dec 2, 2017
1 parent 5282d69 commit b36b187
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
const BemConfig = require('@bem/sdk.config');

module.exports = function() {
const config = BemConfig();

return Promise.all([
BemConfig().get(),
BemConfig().levelMap()
config.get(),
config.levelMap()
]).then(([all, levels]) => ({
all,
levels
Expand Down

0 comments on commit b36b187

Please sign in to comment.