Update capacitor version
This commit is contained in:
parent
91155bce0a
commit
f3b3a86b32
610 changed files with 28718 additions and 7101 deletions
5
@capacitor/cli/dist/util/native-run.js
vendored
5
@capacitor/cli/dist/util/native-run.js
vendored
|
@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|||
const path_1 = require("path");
|
||||
const colors_1 = tslib_1.__importDefault(require("../colors"));
|
||||
const errors_1 = require("../errors");
|
||||
const log_1 = require("../log");
|
||||
const node_1 = require("./node");
|
||||
const subprocess_1 = require("./subprocess");
|
||||
async function runNativeRun(args, options = {}) {
|
||||
|
@ -39,6 +40,10 @@ async function getPlatformTargets(platformName) {
|
|||
const err = JSON.parse(e);
|
||||
errors.push(err);
|
||||
}
|
||||
if (errors.length === 0) {
|
||||
log_1.logger.info('No devices found.');
|
||||
return [];
|
||||
}
|
||||
const plural = errors.length > 1 ? 's' : '';
|
||||
const errMsg = `${colors_1.default.strong('native-run')} failed with error${plural}\n
|
||||
${errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue