mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-01 03:38:35 +08:00 
			
		
		
		
	build(electron-forge): use double quotes for the buildPath in afterPrune
attempt to fix failing Windows build in CI, which uses cmd shell, which apparently treats single apostrophes differently
This commit is contained in:
		
							parent
							
								
									6218ae6cd7
								
							
						
					
					
						commit
						9fe37465c7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -47,7 +47,7 @@ module.exports = { | ||||||
|                 try { |                 try { | ||||||
|                     const cleanupNodeModulesScript = path.join(buildPath, "bin", "cleanupNodeModules.ts"); |                     const cleanupNodeModulesScript = path.join(buildPath, "bin", "cleanupNodeModules.ts"); | ||||||
|                     // we don't have access to any devDeps like 'tsx' here, so use the built-in '--experimental-strip-types' flag instead
 |                     // we don't have access to any devDeps like 'tsx' here, so use the built-in '--experimental-strip-types' flag instead
 | ||||||
|                     const command = `node --experimental-strip-types ${cleanupNodeModulesScript} '${buildPath}' --skip-prune-dev-deps`; |                     const command = `node --experimental-strip-types ${cleanupNodeModulesScript} "${buildPath}" --skip-prune-dev-deps`; | ||||||
|                     // execSync throws, if above returns any non-zero exit code
 |                     // execSync throws, if above returns any non-zero exit code
 | ||||||
|                     execSync(command); |                     execSync(command); | ||||||
|                     callback() |                     callback() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue