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

15 lines
383 B
Plaintext

/*!
Copyright 2013 Lovell Fuller and others.
SPDX-License-Identifier: Apache-2.0
*/
try {
const { useGlobalLibvips } = require('../lib/libvips');
if (useGlobalLibvips() || process.env.npm_config_build_from_source) {
process.exit(1);
}
} catch (err) {
const summary = err.message.split(/\n/).slice(0, 1);
console.log(`sharp: skipping install check: ${summary}`);
}