Skip to content

Commit

Permalink
Increased max buffer during lint #3
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Jan 20, 2020
1 parent 03c3e4b commit 77014e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.2

- Fixed: `ERR_CHILD_PROCESS_STDIO_MAXBUFFER` by increasing the max buffer during lint #3

## 1.0.1

- Fixed: Illegal value for `line` #1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/vknabel/vscode-swiftlint"
},
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"author": {
"name": "Valentin Knabel",
Expand Down
1 change: 0 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as vscode from "vscode";
import Current from "./Current";
import * as path from "path";
import { SwiftLint } from "./SwiftLintProvider";

const swiftLint = new SwiftLint();
Expand Down
1 change: 1 addition & 0 deletions src/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function execSwiftlint(
{
encoding: "utf8",
env: process.env,
maxBuffer: 1024 * 500,
...(options || {})
},
(error, stdout, stderr) => {
Expand Down

0 comments on commit 77014e6

Please sign in to comment.