File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/baseai/src/build Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export const buildMemory = async ({
109
109
const displayName = path . dirname ( file ) ; // This is the last directory name
110
110
try {
111
111
const { stdout } = await execAsync (
112
- `npx tsx -e "import memoryConfig from '${ inputFile } '; console.log(JSON.stringify(memoryConfig()))"`
112
+ `npx tsx -e "import memoryConfig from '${ JSON . stringify ( inputFile ) } '; console.log(JSON.stringify(memoryConfig()))"`
113
113
) ;
114
114
115
115
await fs . writeFile ( outputFile , stdout ) ;
@@ -160,7 +160,7 @@ const buildTypeScriptFiles = async (
160
160
161
161
try {
162
162
const { stdout } = await execAsync (
163
- `npx tsx -e "import config from '${ inputFile } '; console.log(JSON.stringify(config()))"`
163
+ `npx tsx -e "import config from '${ JSON . stringify ( inputFile ) } '; console.log(JSON.stringify(config()))"`
164
164
) ;
165
165
166
166
// Parse the JSON output
You can’t perform that action at this time.
0 commit comments