auto-timesheet
Advanced tools
Comparing version 0.0.35 to 0.0.36
{ | ||
"name": "auto-timesheet", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "Add redmine timesheet automatically and periodically.", | ||
@@ -5,0 +5,0 @@ "main": "./src/bin/auto-timesheet.js", |
@@ -6,3 +6,3 @@ #!/usr/bin/env node | ||
editor('../../credentials/config.json', function(code) { | ||
editor('credentials/config.json', function(code) { | ||
if (code !== 0) throw new Error('something went wrong while saving configuration'); | ||
@@ -9,0 +9,0 @@ |
@@ -25,3 +25,4 @@ #!/usr/bin/env node | ||
function openEditor() { | ||
return editor('../../credentials/credentials.json', function(code) { | ||
console.log('opeing editor'); | ||
return editor('credentials/credentials.json', function(code) { | ||
if (code !== 0) throw new Error('something went wrong while saving configuration'); | ||
@@ -28,0 +29,0 @@ |
@@ -7,7 +7,5 @@ const fs = require('fs'); | ||
console.log(path.join(__dirname, '../../credentials/credentials.json')); | ||
let credGenStream = fs.createWriteStream('credentials/credentials.json'); | ||
let templateStream = fs.createReadStream('credentials/credentials.template'); | ||
let credGenStream = fs.createWriteStream('../../credentials/credentials.json'); | ||
let templateStream = fs.createReadStream('../../credentials/credentials.template'); | ||
templateStream.pipe(credGenStream); | ||
@@ -14,0 +12,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102684