Comments (7)
I see. I think it really should match the file relative to the specified cwd
. If cwd
is not specified it should be relative the root directory of the project. Thanks for reporting!
from atom-build.
I have fixed this on master. Please test it and see if it works for you!
It will be included in the next release (v0.30.0
).
Thanks for reporting this!
from atom-build.
Thanks for looking into this promptly.
I tried your change, and it almost works ... but not quite.
The problem is that it is not expanding variables that appear in the cwd
field.
Specifically, my cwd
field is set to "{FILE_ACTIVE_PATH}"
. So, your change causes the error jumping feature to go searching for {FILE_ACTIVE_PATH}/myfile.txt
... which is bad, of course.
Can you expand variables before pre-pending to the path?
Thanks!
from atom-build.
This change does the trick:
At build.js line 181:
atom.workspace.open(this.replace(this.cmd.cwd) + path.sep + this.match[0].file, {
At build.js line 198:
atom.workspace.open(this.replace(this.cmd.cwd) + path.sep + this.match[0].file, {
from atom-build.
That is true! Excellent catch. Do you want to make a PR for that change, or should I just change it?
from atom-build.
Please change yourself... Thanks!
Sent from my Windows Phone
From: Alexander Olssonmailto:[email protected]
Sent: 4/30/2015 10:01
To: noseglid/atom-buildmailto:[email protected]
Cc: nikswamymailto:[email protected]
Subject: Re: [atom-build] Prefixing the value of cwd
to the file of matched errors (#63)
That is true! Excellent catch. Do you want to make a PR for that change, or should I just change it?
Reply to this email directly or view it on GitHub:
#63 (comment)
from atom-build.
This has been fixed on master. Would you mind testing it out?
from atom-build.
Related Issues (20)
- Uncaught TypeError: Cannot set property 'innerHTML' of undefined
- Path does not exist -- but it does HOT 1
- Linter does not catch any errors and warnings of Build output.
- Slooooooowwwww startup time
- PATH set to "undefined:/usr/local/bin" on Mac OS
- Uncaught TypeError: newProjectPaths.filter is not a function
- cannot autosave
- Feature suggestion
- Uncaught Error: read ENOTCONN
- Uncaught Error: Status 'Refreshing targets for ~/Documents\Research\Dissertation' is already set #89
- Scrollbar not visible.
- Error matching not working? HOT 2
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\platformio-...
- HTMLDocument.registerElement is deprecated.
- Error in Windows 10 with .atom-build.yml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-build.