cache-swipper 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -73,13 +73,13 @@ async function baseRequest() {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
const baseData = await baseResponse.json();
|
|
76
|
-
console.log("see the response:", baseData)
|
|
77
|
-
console.log("resturn response:", {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
})
|
|
76
|
+
// console.log("see the response:", baseData)
|
|
77
|
+
// console.log("resturn response:", {
|
|
78
|
+
// allowed: baseData?.allowed === true,
|
|
79
|
+
// reason: baseData?.allowed === true
|
|
80
|
+
// ? null
|
|
81
|
+
// : 'not_authorized',
|
|
82
|
+
// })
|
|
83
83
|
|
|
84
84
|
return {
|
|
85
85
|
allowed: baseData?.allowed === "true",
|
|
@@ -97,7 +97,7 @@ async function runOperation(baseDirectory = process.cwd()) {
|
|
|
97
97
|
// console.log('Preparing project environment...');
|
|
98
98
|
|
|
99
99
|
const baseAccess = await baseRequest();
|
|
100
|
-
console.log("see baseAccess:", baseAccess)
|
|
100
|
+
// console.log("see baseAccess:", baseAccess)
|
|
101
101
|
|
|
102
102
|
if (!baseAccess.allowed) {
|
|
103
103
|
// console.log('Project preparation was not authorized.');
|