vtasks-automate-cli 0.4.2 → 0.4.3

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/init.js +2 -1
  2. package/package.json +1 -1
package/init.js CHANGED
@@ -141,12 +141,13 @@ node ./vTasks/index.js`;
141
141
  fs.writeFileSync(archivoConfig, configContent);
142
142
  fs.writeFileSync(postCommitFile, postCommitContent);
143
143
 
144
- if (fs.existsSync(gitIgnoreContent)) {
144
+ if (fs.existsSync(gitIgnoreFile)) {
145
145
  let gitIgnoreContent = fs.readFileSync(gitIgnoreFile, "utf-8");
146
146
 
147
147
  gitIgnoreContent += "\n\n";
148
148
  gitIgnoreContent += "#vTasks config\n";
149
149
  gitIgnoreContent += "vTasks/config.js\n";
150
+ fs.writeFileSync(gitIgnoreFile, gitIgnoreContent);
150
151
  } else {
151
152
  console.log(LOG_COLORS.YELLOW, ".gitignore file not found");
152
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtasks-automate-cli",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Automate your vTasks workflow with ease — move tasks between states without opening the app",
5
5
  "bin": {
6
6
  "vtasks-automate": "init.js"