Skip to content

Commit

Permalink
fix: update to read absolute path of google-api-client.properties (#2299
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ruomengz authored May 9, 2023
1 parent 39ae727 commit 9031b8f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ private static String getVersion() {
// this value should be read and cached for later use
String version = null;
try (InputStream inputStream =
GoogleUtils.class.getResourceAsStream("google-api-client.properties")) {
GoogleUtils.class.getResourceAsStream(
"/com/google/api/client/googleapis/google-api-client.properties")) {
if (inputStream != null) {
Properties properties = new Properties();
properties.load(inputStream);
Expand Down

0 comments on commit 9031b8f

Please sign in to comment.