Use husky

This commit is contained in:
Danny McCormick 2019-06-05 11:34:47 -04:00
parent d7b6952411
commit c3f0a8be66
6685 changed files with 919804 additions and 0 deletions

11
node_modules/slash/index.js generated vendored Normal file
View file

@ -0,0 +1,11 @@
'use strict';
module.exports = input => {
const isExtendedLengthPath = /^\\\\\?\\/.test(input);
const hasNonAscii = /[^\u0000-\u0080]+/.test(input); // eslint-disable-line no-control-regex
if (isExtendedLengthPath || hasNonAscii) {
return input;
}
return input.replace(/\\/g, '/');
};