mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-19 14:20:36 -04:00
Show debug info
This commit is contained in:
@@ -169,7 +169,10 @@ function buildToStore (ctx, paths, pkg, log) {
|
||||
}
|
||||
|
||||
function installLogger (log, pkg) {
|
||||
return (stream, line) => log(stream, { name: pkg.fullname, line: line })
|
||||
return (stream, line) => {
|
||||
require('debug')('pnpm:post_install')('%s %s', pkg.fullname, line)
|
||||
log(stream, { name: pkg.fullname, line: line })
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
process.env.DEBUG = 'pnpm:*'
|
||||
var test = require('tape')
|
||||
var join = require('path').join
|
||||
var fs = require('fs')
|
||||
|
||||
Reference in New Issue
Block a user