-
Notifications
You must be signed in to change notification settings - Fork 199
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I have one doubt.
@@ -84,7 +84,8 @@ export default class ProjectFile { | |||
} | |||
|
|||
public get root(): string { | |||
return path.dirname(this.filePath); | |||
// We go to the parent of the containing directory (.openzeppelin) to get the root | |||
return path.dirname(path.dirname(this.filePath)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is correct as long as we support the old zos.json
. Or is migration mandatory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Just force pushed a fix. By the way, only after I pushed it I noted I shouldn't have amended, so you could see the new diff. Apologies for that! Still, being a small change, I hope you won't mind!
073ac1c
to
0bb4650
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for the comment below. 👌
Co-Authored-By: Francisco Giordano <[email protected]>
Fixes #1372