evophp 1.0.15 → 1.0.16

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/installer.js +3 -3
  2. package/package.json +1 -1
package/installer.js CHANGED
@@ -18,7 +18,7 @@ let [, , command, type, name] = process.argv;
18
18
  console.log(`Installing plugin/theme: ${name}...`);
19
19
  try {
20
20
  const pluginPath = path.resolve(__dirname, "install-plugin.js");
21
- execSync(`node ${pluginPath} ${type} ${name}`, {
21
+ execSync(`node "${pluginPath}" ${type} ${name}`, {
22
22
  stdio: "inherit",
23
23
  });
24
24
  } catch (error) {
@@ -44,7 +44,7 @@ let [, , command, type, name] = process.argv;
44
44
  console.log(`Creating a new ${type}: ${name}...`);
45
45
  try {
46
46
  const pluginPath = path.resolve(__dirname, "new-plugin.js");
47
- execSync(`node ${pluginPath} ${type} ${name}`, { stdio: "inherit" });
47
+ execSync(`node "${pluginPath}" ${type} ${name}`, { stdio: "inherit" });
48
48
  } catch (error) {
49
49
  console.error(`Error creating new ${type}: ${error.message}`);
50
50
  process.exit(1);
@@ -60,7 +60,7 @@ let [, , command, type, name] = process.argv;
60
60
  if (type === "plugin") {
61
61
  try {
62
62
  const pluginPath = path.resolve(__dirname, "install-dependencies.js");
63
- execSync(`node ${pluginPath} ${name} ${args.join(' ')}`, { stdio: "inherit" });
63
+ execSync(`node "${pluginPath}" ${name} ${args.join(' ')}`, { stdio: "inherit" });
64
64
  } catch (error) {
65
65
  console.error(`Error installing dependencies: ${error.message}`);
66
66
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evophp",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Installer for the Evolution PHP project",
5
5
  "main": "installer.js",
6
6
  "scripts": {