Skip to content

Commit 173277a

Browse files
committed
Fix minor CodeRabbit suggestions
1 parent 496b3b7 commit 173277a

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

components/google_search_console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_search_console",
3-
"version": "0.6.0",
3+
"version": "0.0.1",
44
"description": "Pipedream google_search_console Components",
55
"main": "google_search_console.app.mjs",
66
"keywords": [

components/google_search_console/tests/get-token.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,19 @@ new Promise((resolve, reject) => {
6565
console.log("Access Token:", data.access_token);
6666
console.log("Refresh Token:", data.refresh_token);
6767
console.log("Expires In:", data.expires_in);
68+
console.log("Token retrieval complete. Shutting down server...");
69+
process.exit(0);
6870
} else {
6971
console.error(" Failed to get tokens:", data);
72+
process.exit(1);
7073
}
7174
})
7275
.catch((err) => {
7376
console.error("Error while exchanging code:", err);
77+
process.exit(1);
7478
});
7579
})
7680
.catch((error) => {
7781
console.error("Error during authorization:", error);
82+
process.exit(1);
7883
});

components/google_search_console/tests/methods/bogus-data/bogus-data-google-date.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,38 +67,38 @@ export default {
6767
aValidYMDDashDate : {
6868
value : `2025-05-28`,
6969
jsType : "string",
70-
extendedType : "ymlDashDate"
70+
extendedType : "ymdDashDate"
7171
},
7272

7373

7474
aCharinYMDDashDate : {
7575
value : `20G5-h5-28`,
7676
jsType : "string",
77-
extendedType : "ymlDashDate"
77+
extendedType : "ymdDashDate"
7878
},
7979

8080
aShortYearYMDDashDate : {
8181
value : `20-23-28`,
8282
jsType : "string",
83-
extendedType : "ymlDashDate"
83+
extendedType : "ymdDashDate"
8484
},
8585

8686
aMonthOusideValYMDDashDate : {
8787
value : `2025-23-28`,
8888
jsType : "string",
89-
extendedType : "ymlDashDate"
89+
extendedType : "ymdDashDate"
9090
},
9191

9292
aDayOusideValYMDDashDate : {
9393
value : `2025-12-56`,
9494
jsType : "string",
95-
extendedType : "ymlDashDate"
95+
extendedType : "ymdDashDate"
9696
},
9797

9898
anInvalidSeparatorYMDDashDate : {
9999
value : `2025/12.56`,
100100
jsType : "string",
101-
extendedType : "ymlDashDate"
101+
extendedType : "ymdDashDate"
102102
},
103103

104104

0 commit comments

Comments
 (0)