refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
10
home/ags/node_modules/eslint-plugin-n/lib/util/strip-import-path-params.js
generated
vendored
10
home/ags/node_modules/eslint-plugin-n/lib/util/strip-import-path-params.js
generated
vendored
|
|
@ -1,10 +0,0 @@
|
|||
/**
|
||||
* @author Toru Nagashima
|
||||
* See LICENSE file in root directory for full license.
|
||||
*/
|
||||
"use strict"
|
||||
|
||||
module.exports = function stripImportPathParams(path) {
|
||||
const i = path.indexOf("!")
|
||||
return i === -1 ? path : path.slice(0, i)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue