Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

preRunMessage.js 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.remove = exports.print = void 0;
  6. function _chalk() {
  7. const data = _interopRequireDefault(require('chalk'));
  8. _chalk = function () {
  9. return data;
  10. };
  11. return data;
  12. }
  13. var _clearLine = _interopRequireDefault(require('./clearLine'));
  14. var _isInteractive = _interopRequireDefault(require('./isInteractive'));
  15. function _interopRequireDefault(obj) {
  16. return obj && obj.__esModule ? obj : {default: obj};
  17. }
  18. /**
  19. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  20. *
  21. * This source code is licensed under the MIT license found in the
  22. * LICENSE file in the root directory of this source tree.
  23. */
  24. const print = stream => {
  25. if (_isInteractive.default) {
  26. stream.write(
  27. _chalk().default.bold.dim('Determining test suites to run...')
  28. );
  29. }
  30. };
  31. exports.print = print;
  32. const remove = stream => {
  33. if (_isInteractive.default) {
  34. (0, _clearLine.default)(stream);
  35. }
  36. };
  37. exports.remove = remove;