fix path stuff
This commit is contained in:
parent
eb56a27a4d
commit
5962ba05ec
3 changed files with 15 additions and 3 deletions
|
|
@ -251,6 +251,12 @@ const Project = function(target) {
|
|||
this.libraries = [];
|
||||
this.output = target;
|
||||
this.base = fs.cwd();
|
||||
|
||||
if(this.base == fs.startedCwd) {
|
||||
this.base = ".";
|
||||
} else {
|
||||
this.base = this.base.substr(fs.startedCwd.length + 1);
|
||||
}
|
||||
};
|
||||
|
||||
Project.prototype.generate = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue