Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Fix the type error "path.resolved is not a function" when the first parameter is a file #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jzhn
Copy link

@jzhn jzhn commented Jun 22, 2016

Currently when use diff with a file name as the first parameter, a Type Error is thrown:

$ npm-shrinkwrap diff npm-shrinkwrap.json npm-shrinkwrap.json
TypeError: path.resolved is not a function
    at main (*****\npm-shrinkwrap\bin\diff.js:128:38)

This is caused by a typo. After this fix it works fine.

@CLAassistant
Copy link

CLAassistant commented Jun 27, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Joseph Zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants