forked from Git/send_ynh
		
	Fix
This commit is contained in:
		@@ -126,8 +126,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
 | 
				
			|||||||
pushd "$final_path"
 | 
					pushd "$final_path"
 | 
				
			||||||
	ynh_use_nodejs
 | 
						ynh_use_nodejs
 | 
				
			||||||
	ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
 | 
						ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
 | 
				
			||||||
	#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
 | 
						ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
 | 
				
			||||||
	ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run clean && webpack
 | 
					 | 
				
			||||||
popd
 | 
					popd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#=================================================
 | 
					#=================================================
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -103,8 +103,8 @@ then
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	pushd "$final_path"
 | 
						pushd "$final_path"
 | 
				
			||||||
		ynh_use_nodejs
 | 
							ynh_use_nodejs
 | 
				
			||||||
		ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install
 | 
							ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
 | 
				
			||||||
		ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm run build
 | 
							ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
 | 
				
			||||||
	popd
 | 
						popd
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user