create-sy 2.1.32-alpha.0 → 2.1.33-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/utils.js +1 -1
  2. package/package.json +2 -2
package/build/utils.js CHANGED
@@ -47,7 +47,7 @@ export const prompt = async (message) => {
47
47
  return answer;
48
48
  };
49
49
  export const getInstalledMongoVersion = () => {
50
- const versionOutput = child_process.execSync('mongod1 --version').toString();
50
+ const versionOutput = child_process.execSync('mongod --version').toString();
51
51
  const versionMatch = versionOutput.match(/db version v(\d+\.\d+\.\d+)/);
52
52
  if (!versionMatch) {
53
53
  throw new Error(chalk.red(`❌ Cannot parse MongoDB version, output: '${versionOutput}'`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sy",
3
- "version": "2.1.32-alpha.0",
3
+ "version": "2.1.33-alpha.0",
4
4
  "description": "Install and setup Syngrisi",
5
5
  "author": {
6
6
  "name": "Viktar Silakou",
@@ -72,5 +72,5 @@
72
72
  "read-pkg-up": "^10.1.0",
73
73
  "semver": "^7.3.8"
74
74
  },
75
- "gitHead": "df1d7bc159619fcf0e612229be1a79652a84e5e7"
75
+ "gitHead": "9798c5c0f4b9859fbf48c738b3c9a13aac9b117a"
76
76
  }