( path )
| 30 | |
| 31 | /* Utility functions */ |
| 32 | const getFileContents = ( path ) => fs.existsAsync( path ) |
| 33 | .then( exists => exists ? fs.readFileAsync( path, 'utf-8' ) : '' ); |
| 34 | |
| 35 | const stripPunctuation = ( str ) => |
| 36 | str.replace( /["'.,\/#!$%\^&\*;:’{}=_`~()]/g, '' ); |
nothing calls this directly
no outgoing calls
no test coverage detected