arbentia-dataverse-mcp 1.0.6 → 1.0.7
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -147,10 +147,10 @@ async function ARBDownloadInstructions() {
|
|
|
147
147
|
|
|
148
148
|
const url = 'https://arbentiaipdevst.z6.web.core.windows.net/pp/copilot-instructions.md';
|
|
149
149
|
|
|
150
|
-
const downloadedContent = await new Promise
|
|
150
|
+
const downloadedContent = await new Promise((resolve, reject) => {
|
|
151
151
|
https.get(url, (response) => {
|
|
152
152
|
if (response.statusCode === 200) {
|
|
153
|
-
const chunks
|
|
153
|
+
const chunks = [];
|
|
154
154
|
response.on('data', (chunk) => chunks.push(chunk));
|
|
155
155
|
response.on('end', () => resolve(Buffer.concat(chunks).toString('utf8')));
|
|
156
156
|
} else {
|