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.

process-node-options.js 364B

12345678910111213141516
  1. 'use strict';
  2. const {generateRequire} = require('./generate-require.js');
  3. function processNodeOptions(value) {
  4. const requireSelf = generateRequire(require.resolve('./preload-path/node-preload.js'));
  5. /* istanbul ignore else */
  6. if (!value.includes(requireSelf)) {
  7. value = `${value} ${requireSelf}`;
  8. }
  9. return value;
  10. }
  11. module.exports = processNodeOptions;