Skip to content

Commit 7c7ec2b

Browse files
committed
[release] src: npm run fix-lint
Change-Id: I9b96cb15e3731f0a307f0220470c41fcdfeac4c7 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245543 Reviewed-by: Rebecca Stambler <[email protected]> (cherry picked from commit e3aa3a2) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245637 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
1 parent 7b2f165 commit 7c7ec2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/goEnvironmentStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import WebRequest = require('web-request');
1515
import { toolInstallationEnvironment } from './goEnv';
1616
import { outputChannel } from './goStatus';
1717
import { getFromWorkspaceState, updateWorkspaceState } from './stateUtils';
18-
import { getBinPath, getGoVersion, getTempFilePath, rmdirRecursive, GoVersion } from './util';
18+
import { getBinPath, getGoVersion, getTempFilePath, GoVersion, rmdirRecursive } from './util';
1919
import { correctBinname, getBinPathFromEnvVar, getCurrentGoRoot, pathExists } from './utils/goPath';
2020

2121
export class GoEnvironmentOption {

src/util.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ export class GoVersion {
8484
public sv?: semver.SemVer;
8585
// Go version tags are not following the strict semver format
8686
// so semver drops the prerelease tags used in Go version.
87-
// If sv is valid, let's keep the original version string
87+
// If sv is valid, let's keep the original version string
8888
// including the prerelease tag parts.
8989
public svString?: string;
90-
90+
9191
public isDevel?: boolean;
9292
private commit?: string;
93-
93+
9494
constructor(public binaryPath: string, public version: string) {
9595
const matchesRelease = /^go version go(\d\.\d+\S*)\s+/.exec(version);
9696
const matchesDevel = /go version devel \+(.[a-zA-Z0-9]+).*/.exec(version);

0 commit comments

Comments
 (0)