FountainJS / generator-fountain-vue

Yeoman 'fountain' generator to start a webapp with Vue http://fountainjs.io
MIT License
103 stars 12 forks source link

My working files are replaced with weird code. #9

Open korneSt opened 8 years ago

korneSt commented 8 years ago

Don't know what caused this by now in my working javascript files I have following output.

'use strict';

var cov_1q4mhr3rjq = (function () {
  let path = 'C:\\Users\\korSt\\Documents\\Vue\\PracaInz\\src\\store\\mutation-types.js',
    hash = '295c6b828651756faa97f62ed8df5f6473f9783a',
    global = new Function('return this')(),
    gcv = '__coverage__',
    coverageData = {
      path: 'C:\\Users\\korSt\\Documents\\Vue\\PracaInz\\src\\store\\mutation-types.js',
      statementMap: {
        0: {
          start: {
            line: 3,
            column: 21
          },
          end: {
            line: 298,
            column: 4
          }
        },
        1: {
          start: {
            line: 4,
            column: 13
          },
          end: {
            line: 4,
            column: 88
          }
        },
        2: {
          start: {
            line: 5,
            column: 11
          },

let path = (++cov_1q4mhr3rjq.s[15], (++cov_1q4mhr3rjq.s[2], 'C:\\Users\\korSt\\Documents\\Vue\\PracaInz\\src\\store\\mutation-types.js')),
    hash = (++cov_1q4mhr3rjq.s[16], (++cov_1q4mhr3rjq.s[3], '5566390f757c4e7a5b5d2573ad0359f1aedbe81f')),
    global = (++cov_1q4mhr3rjq.s[17], (++cov_1q4mhr3rjq.s[4], new Function('return this')())),
    gcv = (++cov_1q4mhr3rjq.s[18], (++cov_1q4mhr3rjq.s[5], '__coverage__')),
    coverageData = (++cov_1q4mhr3rjq.s[19], (++cov_1q4mhr3rjq.s[6], {
      path: 'C:\\Users\\korSt\\Documents\\Vue\\PracaInz\\src\\store\\mutation-types.js',
      statementMap: {

It is just fragment, document is about 1000 lines long and my code is burred somewhere between. I played a little with ESLint before that happend, but I'm not sure where is the problem.

micaelmbagira commented 7 years ago

@korneSt Can you provide the .yorc.json and the steps to reproduce pleaase ?