Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit a05f584

Browse files
Tweaking octorun output
1 parent 687e162 commit a05f584

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

octorun/src/output.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ var outputResult = function (status, results, errors, preventExit) {
2424
process.stdout.write(endOfLine);
2525
}
2626
}
27-
28-
throw "Unsupported result output";
27+
else {
28+
throw "Unsupported result output";
29+
}
2930
}
3031

3132
if (errors) {
@@ -37,7 +38,7 @@ var outputResult = function (status, results, errors, preventExit) {
3738
for (var errorIndex = 0; errorIndex < errors.length; errorIndex++) {
3839
var error = errors[errorIndex];
3940
if (typeof error !== 'string') {
40-
throw "Unsupported result output";
41+
throw "Unsupported error output";
4142
}
4243

4344
process.stdout.write(error);
@@ -47,14 +48,14 @@ var outputResult = function (status, results, errors, preventExit) {
4748
else if (errors.toString) {
4849
process.stdout.write(errors.toString());
4950
process.stdout.write(endOfLine);
50-
}
51+
}
5152
else {
5253
process.stdout.write(errors);
5354
process.stdout.write(endOfLine);
5455
}
5556
}
5657

57-
if(!preventExit) {
58+
if (!preventExit) {
5859
process.exit();
5960
}
6061
}

octorun/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
196e9867
1+
687e162c

src/GitHub.Api/Installer/OctorunInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public class OctorunInstallDetails
102102
public const string DefaultZipMd5Url = "https://ghfvs-installer.github.com/unity/octorun/octorun.zip.md5";
103103
public const string DefaultZipUrl = "https://ghfvs-installer.github.com/unity/octorun/octorun.zip";
104104

105-
public const string PackageVersion = "196e9867";
105+
public const string PackageVersion = "687e162c";
106106
private const string PackageName = "octorun";
107107
private const string zipFile = "octorun.zip";
108108

src/GitHub.Api/Resources/octorun.zip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b88a832fae41b944798323b91a745909bbf7d083fdf2455e2ec71dd51030523a
3-
size 211853
2+
oid sha256:f24e7067d57002e10976a064f3c6753f253fb76fa1d67b4d9acfa4a1566b4962
3+
size 212470

0 commit comments

Comments
 (0)