Ver código fonte

Added temporal seed logging

sanex3339 7 anos atrás
pai
commit
1f34d39fd4
2 arquivos alterados com 2 adições e 0 exclusões
  1. 0 0
      dist/index.js
  2. 2 0
      src/utils/RandomGenerator.ts

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/index.js


+ 2 - 0
src/utils/RandomGenerator.ts

@@ -94,6 +94,8 @@ export class RandomGenerator implements IRandomGenerator, IInitializable {
 
         this.seed = this.options.seed !== 0 ? this.options.seed : getRandomInteger(0, 999999999);
         this.randomGenerator = new Chance(getSeed());
+
+        console.log(`Seed is ${this.seed}`);
     }
 
     /**

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff