generateproj 2.3.0 → 2.5.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.
package/dist/Java/java.js CHANGED
@@ -77,4 +77,6 @@ const createJavaProject = async () => {
77
77
  console.error(`Error: Could not initialize your Java project. ${err.message}`);
78
78
  process.exit(1);
79
79
  }
80
- }
80
+ }
81
+
82
+ module.exports = createJavaProject;
@@ -5,7 +5,7 @@ const {execSync} = require('child_process');
5
5
  * @returns {boolean} True if Git is available, false otherwise.
6
6
  */
7
7
 
8
- const gitIsAvailable = async () => {
8
+ const gitIsAvailable = () => {
9
9
  try {
10
10
  execSync("git --version", {stdio: 'ignore'});
11
11
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generateproj",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "main": "cli.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",