Skip to content

Commit

Permalink
Merge pull request #6 from Realytics/dev
Browse files Browse the repository at this point in the history
0.1.2
  • Loading branch information
piotr-oles authored May 10, 2017
2 parents 2d39c90 + 9b77dd0 commit 4014679
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ for (var number = 0; number < division; number++) {
[],
{
execArgv: ['--max-old-space-size=' + process.env.MEMORY_LIMIT],
env: Object.assign({}, process.env, { WORKER_NUMBER: number }),
env: Object.assign({}, process.env, { WORK_NUMBER: number }),
stdio: ['inherit', 'inherit', 'inherit', 'ipc']
}
)
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,12 @@ ForkTsCheckerWebpackPlugin.prototype.createDoneCallback = function () {
if (!this.silent && this.logger) {
if (this.diagnostics.length || this.lints.length) {
(this.lints || []).concat(this.diagnostics).forEach(function (message) {
var logColor = message.isWarningSeverity() ? this.colors.yellow : this.colors.red;
var logColor = message.isWarningSeverity() ? this.colors.bold.yellow : this.colors.bold.red;
var logMethod = message.isWarningSeverity() ? this.logger.warn : this.logger.error;

logMethod(
logColor(message.getSeverity().toUpperCase() + ' at ' + message.getFile()) +
'(' + this.colors.cyan(message.getLine()) + ',' + this.colors.cyan(message.getCharacter()) + '): '
'(' + this.colors.bold.cyan(message.getLine()) + ',' + this.colors.bold.cyan(message.getCharacter()) + '): '
);
logMethod(
this.colors.grey(message.getFormattedCode() + ': ') +
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fork-ts-checker-webpack-plugin",
"version": "0.1.1",
"version": "0.1.2",
"description": "Runs typescript type checker and linter on separate process.",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 4014679

Please sign in to comment.