Files
NapCatQQ/.pnpm-store/v3/files/9a/c8bf6a114fb84355614ee7d033549dd539e85afd940a15734f1177446bae51e5ef5d3b07d817da8762b13b2cb17e5f446769322ee3c2974472f18f0dbce881
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

11 lines
240 B
Plaintext

/**
* @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)
}