timepiece/node_modules/gulp-cli/lib/shared/tildify.js

10 lines
163 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
'use strict';
var replaceHomedir = require('replace-homedir');
function tildify(filepath) {
return replaceHomedir(filepath, '~');
}
module.exports = tildify;