Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 512526

Summary: Missing relative path lib is not flagged as such
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 13.0   
Target Milestone: 14.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-02-21 14:13:13 EST
Steps:

1. create a new project and add a file app.js
2. add the following: var lib = require('./connector');
3. ./connector is not flagged as missing, even though the file does not exist
Comment 1 Michael Rennie CLA 2017-02-21 15:40:48 EST
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=b0cc66f3df8a9c84ba18b217afe5185209514901

I added support to our linting rule and to our tern context object to ask if Tern knows about a file that is relative.