From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/path-root/index.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 node_modules/path-root/index.js (limited to 'node_modules/path-root/index.js') diff --git a/node_modules/path-root/index.js b/node_modules/path-root/index.js deleted file mode 100644 index 8e141babc..000000000 --- a/node_modules/path-root/index.js +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * path-root - * - * Copyright (c) 2016, Jon Schlinkert. - * Licensed under the MIT License. - */ - -'use strict'; - -var pathRootRegex = require('path-root-regex'); - -module.exports = function(filepath) { - if (typeof filepath !== 'string') { - throw new TypeError('expected a string'); - } - - var match = pathRootRegex().exec(filepath); - if (match) { - return match[0]; - } -}; -- cgit v1.2.3