notable
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -6,4 +6,2 @@ #!/usr/bin/env node | ||
var notersDir = `${process.env.HOME}/.noters`; | ||
var location = `${notersDir}/${process.cwd().replace(/\//g, '-')}`; | ||
@@ -14,5 +12,3 @@ | ||
fs.unlinkSync(location); | ||
console.log('\nnote removed') | ||
} else { | ||
console.log('\npshhhhhhh there isn\'t anything here.'); | ||
console.log('\naote removed') | ||
} | ||
@@ -24,3 +20,3 @@ } else if (args.length > 0) { | ||
fs.writeFileSync(location, args.join(' ')); | ||
console.log('\nnote saved :)'); | ||
console.log('\nnote saved'); | ||
} else { | ||
@@ -30,4 +26,4 @@ if (fs.existsSync(location)) { | ||
} else { | ||
console.log('\nno notes found'); | ||
console.log('\nnothng here'); | ||
} | ||
} |
{ | ||
"name": "notable", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Leave notes for yourself in the terminal", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1
8
3
2096
23