Skip to content

Commit

Permalink
chore: make config const
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 committed May 30, 2019
1 parent cf85535 commit 445ab31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/scaffold.ts
Expand Up @@ -46,9 +46,9 @@ export default function runTransform(transformConfig: TransformConfig, action: s

webpackConfig.forEach(
(scaffoldPiece: string): Promise<void> => {
let config: Config = transformConfig[scaffoldPiece];
const config: Config = transformConfig[scaffoldPiece];

let transformations = mapOptionsToTransform(config);
const transformations = mapOptionsToTransform(config);

if (config.topScope && transformations.indexOf("topScope") === -1) {
transformations.push("topScope");
Expand Down

0 comments on commit 445ab31

Please sign in to comment.