ran npm run tdd & generated TDD
This commit is contained in:
1
test/untildify/untildify.js
Normal file
1
test/untildify/untildify.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = str => str.replace(/^~($|\/|\\)/, `${require('os').homedir()}$1`);
|
||||
Reference in New Issue
Block a user