UNPKG

grunt-githooks

Version:

A Grunt plugin to help bind Grunt tasks to Git hooks

7 lines (4 loc) 127 B
'use strict'; module.exports = function (object) { return object.toString().replace(/\\/g,'\\\\').replace(/'/g,'\\\''); };