<commit_before>const path = require('path');

// Middleware plugin
// Restore some of the old Express functionality
module.exports = {
  name: 'core',
  options: {
    compress: {
      default: {},
      type: Object
    },
    public: {
      type: String,
      inherit: 'public',
      clean: (value, arg, env, all, schema) => {
        console.log(process.platform, value);
        if (/^win/.test(process.platform)) {
          if (value === 'C:\\Users\\Public') {
            // return (arg.public || schema.public.default);
            // return path.normalize(path.join(process.cwd(), 'test'));
            value = arg.public || schema.default;
            const fullpath = path.isAbsolute(value) ? value : path.join(process.cwd(), value);
            return path.normalize(fullpath);
          }
        }
        return value;
      }
    },
    favicon: {
      type: String<commit_msg>Debugging windows<commit_after>const path = require('path');

// Middleware plugin
// Restore some of the old Express functionality
module.exports = {
  name: 'core',
  options: {
    compress: {
      default: {},
      type: Object
    },
    public: {
      type: String,
      inherit: 'public',
      clean: (value, arg, env, all, schema) => {
        console.log(process.platform, value);
        if (/^win/.test(process.platform)) {
          if (value === 'C:\\Users\\Public') {
            // return (arg.public || schema.public.default);
            // return path.normalize(path.join(process.cwd(), 'test'));
            value = arg.public || schema.default;
            return value;
            // const fullpath = path.isAbsolute(value) ? value : path.join(process.cwd(), value);
            // return path.normalize(fullpath);
          }
        }
        return value;
      }
    },
    favicon: {
      type: String
{'fraction_non_alphanumeric': 0.15120087336244542, 'fraction_numerical': 0.0, 'mean_word_length': 1.9756493506493507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1739655', 'n_tokens_mistral': 526, 'n_tokens_neox': 523, 'n_words': 122}