@gitsense/gsc-utils 0.2.14 → 0.2.15
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/dist/gsc-utils.cjs.js
CHANGED
|
@@ -11673,7 +11673,9 @@ async function getAnalyzerInstructionsContent$2(analyzeMessagesBasePath, analyze
|
|
|
11673
11673
|
|
|
11674
11674
|
try {
|
|
11675
11675
|
const fileContent = await fs$3.readFile(instructionsFilePath, 'utf8');
|
|
11676
|
-
|
|
11676
|
+
const parts = fileContent.split('\n\n\n');
|
|
11677
|
+
parts.shift();
|
|
11678
|
+
return parts.join('\n\n\n');
|
|
11677
11679
|
} catch (error) {
|
|
11678
11680
|
if (error.code === 'ENOENT') {
|
|
11679
11681
|
console.warn(`Analyzer instructions file not found: ${instructionsFilePath}`);
|
package/dist/gsc-utils.esm.js
CHANGED
|
@@ -11671,7 +11671,9 @@ async function getAnalyzerInstructionsContent$2(analyzeMessagesBasePath, analyze
|
|
|
11671
11671
|
|
|
11672
11672
|
try {
|
|
11673
11673
|
const fileContent = await fs$3.readFile(instructionsFilePath, 'utf8');
|
|
11674
|
-
|
|
11674
|
+
const parts = fileContent.split('\n\n\n');
|
|
11675
|
+
parts.shift();
|
|
11676
|
+
return parts.join('\n\n\n');
|
|
11675
11677
|
} catch (error) {
|
|
11676
11678
|
if (error.code === 'ENOENT') {
|
|
11677
11679
|
console.warn(`Analyzer instructions file not found: ${instructionsFilePath}`);
|
package/package.json
CHANGED
|
@@ -41,7 +41,9 @@ async function getAnalyzerInstructionsContent(analyzeMessagesBasePath, analyzerI
|
|
|
41
41
|
|
|
42
42
|
try {
|
|
43
43
|
const fileContent = await fs.readFile(instructionsFilePath, 'utf8');
|
|
44
|
-
|
|
44
|
+
const parts = fileContent.split('\n\n\n');
|
|
45
|
+
parts.shift();
|
|
46
|
+
return parts.join('\n\n\n');
|
|
45
47
|
} catch (error) {
|
|
46
48
|
if (error.code === 'ENOENT') {
|
|
47
49
|
console.warn(`Analyzer instructions file not found: ${instructionsFilePath}`);
|