Skip to content

Commit 6222158

Browse files
committed
test/integration: explicitly specify all possible return types
1 parent c071beb commit 6222158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import {
3636
isVendorSupported
3737
} from '../../src/util';
3838

39-
function queryDefaultGopathSync(): string {
39+
function queryDefaultGopathSync(): string | null {
4040
const goExecutable = getBinPath('go');
4141
if (!goExecutable) {
4242
console.warn(`Failed to run "go env GOPATH" to find mod file as the "go" binary cannot be found`);

0 commit comments

Comments
 (0)