mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	fix: #7071 buildSkinAsset won't rebuild continuously
This commit is contained in:
		| @@ -206,7 +206,9 @@ CSS.buildBundle = function (target, fork, callback) { | ||||
| 		function (bundle, next) { | ||||
| 			var filename = target + '.css'; | ||||
|  | ||||
| 			fs.writeFile(path.join(__dirname, '../../build/public', filename), bundle.code, next); | ||||
| 			fs.writeFile(path.join(__dirname, '../../build/public', filename), bundle.code, function (err) { | ||||
| 				next(err, bundle.code); | ||||
| 			}); | ||||
| 		}, | ||||
| 	], callback); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user