<commit_before>asar = require 'asar'
fs = require 'fs'
path = require 'path'

module.exports = (grunt) ->
  {cp, rm} = require('./task-helpers')(grunt)

  grunt.registerTask 'generate-asar', 'Generate asar archive for the app', ->
    done = @async()

    unpack = [
      '*.node'
      '.ctags'
      'ctags-darwin'
      'ctags-linux'
      'ctags-win32.exe'
    ]
    unpack = "{#{unpack.join(',')}}"
<commit_msg>Don't pack spellchecker into asar archive<commit_after>asar = require 'asar'
fs = require 'fs'
path = require 'path'

module.exports = (grunt) ->
  {cp, rm} = require('./task-helpers')(grunt)

  grunt.registerTask 'generate-asar', 'Generate asar archive for the app', ->
    done = @async()

    unpack = [
      '*.node'
      '.ctags'
      'ctags-darwin'
      'ctags-linux'
      'ctags-win32.exe'
      '**/node_modules/spellchecker/**'
    ]
    unpack = "{#{unpack.join(',')}}"

{'fraction_non_alphanumeric': 0.18625277161862527, 'fraction_numerical': 0.004434589800443459, 'mean_word_length': 2.7625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3613565', 'n_tokens_mistral': 342, 'n_tokens_neox': 338, 'n_words': 70}