MCPcopy Create free account
hub / github.com/cloudle/ruui / dotFilePath

Function dotFilePath

cli-local/init.js:92–102  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

90}
91
92function dotFilePath(filePath) {
93 if (!filePath) { return filePath; }
94 return filePath
95 .replace('_eslintrc', '.eslintrc')
96 .replace('_gitignore', '.gitignore')
97 .replace('_gitattributes', '.gitattributes')
98 .replace('_babelrc', '.babelrc')
99 .replace('_flowconfig', '.flowconfig')
100 .replace('_buckconfig', '.buckconfig')
101 .replace('_watchmanconfig', '.watchmanconfig');
102}
103
104module.exports = init;

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected