return better default for github cli reader

pull/310/head
Frostebite 2022-01-25 02:04:49 +00:00
parent 75c4fc3597
commit 8c6e681cf7
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -3617,6 +3617,7 @@ class GithubCliReader {
} }
catch (error) { catch (error) {
core.info(error || 'Failed to get github auth token from gh cli'); core.info(error || 'Failed to get github auth token from gh cli');
return '';
} }
}); });
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@ export class GithubCliReader {
.replace(/\n/g, ''); .replace(/\n/g, '');
} catch (error: any) { } catch (error: any) {
core.info(error || 'Failed to get github auth token from gh cli'); core.info(error || 'Failed to get github auth token from gh cli');
return '';
} }
} }
} }