Skip to content
This repository has been archived by the owner on Jan 26, 2018. It is now read-only.

[js] Error: Assigning to rvalue #57

Open
aladdin-add opened this issue May 27, 2017 · 0 comments
Open

[js] Error: Assigning to rvalue #57

aladdin-add opened this issue May 27, 2017 · 0 comments

Comments

@aladdin-add
Copy link

aladdin-add commented May 27, 2017

		this.getPath = typeof options.paths === 'function' ?
			( id => options.paths( id ) || this.getPathRelativeToEntryDirname( id ) ) :
			options.paths ?
				( id => options.paths.hasOwnProperty( id ) ? options.paths[ id ] : this.getPathRelativeToEntryDirname( id ) ) :
				id => this.getPathRelativeToEntryDirname( id );

lgtm gives an error: Assigning to rvalue, but I'm feeling lgtm.

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

No branches or pull requests

1 participant