UNPKG

478 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const util_1 = require("@kano/kit-app-shell-core/lib/util");
4function doctor(platformId) {
5 return util_1.util.platform.loadPlatformKey(platformId, 'doctor', true)
6 .then((platformDoctor) => {
7 if (!platformDoctor || !platformDoctor.checks) {
8 return [];
9 }
10 return platformDoctor.checks;
11 });
12}
13exports.default = doctor;
14//# sourceMappingURL=doctor.js.map
\No newline at end of file