slicejs-cli 1.0.22 → 1.0.23

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.
@@ -56,8 +56,8 @@ function createComponent(componentName, category, properties) {
56
56
  fs.ensureDirSync(componentDir);
57
57
 
58
58
  // Determinar la ruta del archivo
59
- const componentPath = path.join(componentDir, fileName);
60
-
59
+ let componentPath = path.join(componentDir, fileName);
60
+ componentPath=componentPath.slice(1);
61
61
  console.log(componentPath);
62
62
 
63
63
  // Verificar si el archivo ya existe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-cli",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "Command client for developing web applications with Slice.js",
5
5
  "main": "client.js",
6
6
  "scripts": {