Skip to content

Commit 4fdf15f

Browse files
pin create-react-app version (#919)
1 parent eb2d1a5 commit 4fdf15f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/devextreme-cli/src/utility/extract-tooling-version.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
const toolingVersionOptionName = 'tooling-version';
2+
const defaultVersion = '5.0.1';
23

34
const extractToolingVersion = (commandOptions) => {
45
if(commandOptions && commandOptions[toolingVersionOptionName]) {
56
return `@${commandOptions[toolingVersionOptionName]}`;
67
}
7-
return '';
8+
return `@${defaultVersion}`;
89
};
910

1011
module.exports = {

0 commit comments

Comments
 (0)