summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/co/code-server/remove-node-download.patch
blob: 3ba24d1e91fb8a1d8f0ccb0647d8423fc472f325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- ./lib/vscode/build/gulpfile.reh.ts
+++ ./lib/vscode/build/gulpfile.reh.ts
@@ -349,10 +349,7 @@
 			.pipe(util.stripSourceMappingURL())
 			.pipe(jsFilter.restore);
 
-		const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`;
-		const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true });
-
-		let web: NodeJS.ReadWriteStream[] = [];
+		let web: NodeJS.ReadWriteStream[] = [];
 		if (type === 'reh-web') {
 			web = [
 				'resources/server/favicon.ico',
@@ -368,7 +365,6 @@
 			license,
 			sources,
 			deps,
-			node,
 			...web
 		);
 
@@ -658,6 +654,5 @@
 
 			const packageTasks: task.Task[] = [
 				compileNativeExtensionsBuildTask,
-				task.task(`node-${platform}-${arch}`) as task.Task,
 				util.rimraf(path.join(BUILD_ROOT, destinationFolderName)),
 				packageTask(type, platform, arch, sourceFolderName, destinationFolderName),