Skip to content

Commit 445ab31

Browse files
committedMay 30, 2019
chore: make config const
1 parent cf85535 commit 445ab31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/utils/scaffold.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export default function runTransform(transformConfig: TransformConfig, action: s
4646

4747
webpackConfig.forEach(
4848
(scaffoldPiece: string): Promise<void> => {
49-
let config: Config = transformConfig[scaffoldPiece];
49+
const config: Config = transformConfig[scaffoldPiece];
5050

51-
let transformations = mapOptionsToTransform(config);
51+
const transformations = mapOptionsToTransform(config);
5252

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

0 commit comments

Comments
 (0)
Please sign in to comment.