nativescript
Version:
Command-line interface for building NativeScript projects
24 lines (23 loc) • 763 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProxyCommandBase = void 0;
class ProxyCommandBase {
constructor($analyticsService, $logger, $proxyService, commandName) {
this.$analyticsService = $analyticsService;
this.$logger = $logger;
this.$proxyService = $proxyService;
this.commandName = commandName;
this.disableAnalytics = true;
this.allowedParameters = [];
}
async tryTrackUsage() {
try {
this.$logger.trace(this.commandName);
}
catch (ex) {
this.$logger.trace("Error in trying to track proxy command usage:");
this.$logger.trace(ex);
}
}
}
exports.ProxyCommandBase = ProxyCommandBase;