Skip to content

Commit e82c5a9

Browse files
Shougolambdalisue
authored andcommitted
Fix command output check
1 parent 1df7a02 commit e82c5a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

denops/@denops-private/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export async function getVersionOr<T>(fallback: T): Promise<SemVer | T> {
1414
stdout: "piped",
1515
stderr: "null",
1616
});
17-
const { success, stdout } = await command.output();
1817
try {
18+
const { success, stdout } = await command.output();
1919
if (!success) {
2020
return fallback;
2121
}

0 commit comments

Comments
 (0)