language/node: set npm loglevel to max -ddd
to match the loglevel used in npm_debug.log (previous --verbose loglevel would match -dd)
This commit is contained in:
		
							parent
							
								
									1503c9fcb2
								
							
						
					
					
						commit
						7d8124f339
					
				@ -42,7 +42,7 @@ module Language
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      # npm install args for global style module format installed into libexec
 | 
					      # npm install args for global style module format installed into libexec
 | 
				
			||||||
      %W[
 | 
					      %W[
 | 
				
			||||||
        --verbose
 | 
					        -ddd
 | 
				
			||||||
        --global
 | 
					        --global
 | 
				
			||||||
        --prefix=#{libexec}
 | 
					        --prefix=#{libexec}
 | 
				
			||||||
        #{Dir.pwd}/#{pack}
 | 
					        #{Dir.pwd}/#{pack}
 | 
				
			||||||
@ -52,7 +52,7 @@ module Language
 | 
				
			|||||||
    def self.local_npm_install_args
 | 
					    def self.local_npm_install_args
 | 
				
			||||||
      setup_npm_environment
 | 
					      setup_npm_environment
 | 
				
			||||||
      # npm install args for local style module format
 | 
					      # npm install args for local style module format
 | 
				
			||||||
      ["--verbose"]
 | 
					      ["-ddd"]
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
@ -41,6 +41,6 @@ describe Language::Node do
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  specify "#local_npm_install_args" do
 | 
					  specify "#local_npm_install_args" do
 | 
				
			||||||
    resp = subject.local_npm_install_args
 | 
					    resp = subject.local_npm_install_args
 | 
				
			||||||
    expect(resp).to include("--verbose")
 | 
					    expect(resp).to include("-ddd")
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user