[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#841196: ITP: node-os-homedir -- Node.js 4 `os.homedir()` ponyfill



On Tuesday 18 October 2016 08:27 PM, Lars Wirzenius wrote:
> On Tue, Oct 18, 2016 at 03:27:46PM +0100, Steve McIntyre wrote:
>> The code, well...
>>
>> 	if (process.platform === 'linux') {
>> 		return home || (process.getuid() === 0 ? '/root' : (user ? '/home/' + user : null));
>> 	}
>>
>> Things are more complicated than that. What exactly is this code meant
>> to be used for?
> 
> This is so wrong, I would like to ask that this package not be allowed
> into Debian until it's fixed.

This is already reported upstream
https://github.com/sindresorhus/os-homedir/issues/4

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: