src: npm run fix-lint
Change-Id: I9b96cb15e3731f0a307f0220470c41fcdfeac4c7
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245543
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
diff --git a/src/goEnvironmentStatus.ts b/src/goEnvironmentStatus.ts
index bbc7403..a900193 100644
--- a/src/goEnvironmentStatus.ts
+++ b/src/goEnvironmentStatus.ts
@@ -15,7 +15,7 @@
import { toolInstallationEnvironment } from './goEnv';
import { outputChannel } from './goStatus';
import { getFromWorkspaceState, updateWorkspaceState } from './stateUtils';
-import { getBinPath, getGoVersion, getTempFilePath, rmdirRecursive, GoVersion } from './util';
+import { getBinPath, getGoVersion, getTempFilePath, GoVersion, rmdirRecursive } from './util';
import { correctBinname, getBinPathFromEnvVar, getCurrentGoRoot, pathExists } from './utils/goPath';
export class GoEnvironmentOption {
diff --git a/src/util.ts b/src/util.ts
index e9434a6..e29245f 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -84,13 +84,13 @@
public sv?: semver.SemVer;
// Go version tags are not following the strict semver format
// so semver drops the prerelease tags used in Go version.
- // If sv is valid, let's keep the original version string
+ // If sv is valid, let's keep the original version string
// including the prerelease tag parts.
public svString?: string;
-
+
public isDevel?: boolean;
private commit?: string;
-
+
constructor(public binaryPath: string, public version: string) {
const matchesRelease = /^go version go(\d\.\d+\S*)\s+/.exec(version);
const matchesDevel = /go version devel \+(.[a-zA-Z0-9]+).*/.exec(version);