We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d00cc4 commit 7f17690Copy full SHA for 7f17690
scripts/cpplint.py
@@ -1152,7 +1152,7 @@ def RepositoryName(self):
1152
if (os.path.exists(os.path.join(root_dir, ".git")) or
1153
os.path.exists(os.path.join(root_dir, ".hg")) or
1154
os.path.exists(os.path.join(root_dir, ".svn"))):
1155
- prefix = os.path.commonprefix([root_dir, project_dir])
+ prefix = os.path.commonprefix([root_dir + "/cbmc", project_dir])
1156
return fullname[len(prefix) + 1:]
1157
1158
# Don't know what to do; header guard warnings may be wrong...
0 commit comments