Skip to content

Commit

Permalink
update readme and fixed #9
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Apr 16, 2019
1 parent 81414bd commit 08f0129
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cobra/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__issue_page__ = 'https://github.com/LoRexxar/Cobra-W/issues/new'
__python_version__ = sys.version.split()[0]
__platform__ = platform.platform()
__version__ = '1.1.1'
__version__ = '1.2.0'
__author__ = 'LoRexxar'
__author_email__ = 'LoRexxar@gmail.com'
__license__ = 'MIT License'
Expand Down
2 changes: 1 addition & 1 deletion cobra/pretreatment.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def pre_ast(self):
# 下面是对于php文件的处理逻辑
for filepath in fileext[1]['list']:

filepath = os.path.normpath(self.target_directory + filepath)
filepath = os.path.join(self.target_directory, filepath)
self.pre_result[filepath] = {}
self.pre_result[filepath]['language'] = 'php'

Expand Down
6 changes: 5 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,8 @@
- 2018-08-31
- Cobra-W 1.1.0
- 更新了新的regex-return-regex模式

- 2019-04-16
- Cobra-W 1.2.0
- 修复了include节点中出现变量,无法正确回溯的问题
- 花大代价尝试重构关于ast处理部分,把ast处理整体提出
- 解决了之前无法检索define全局变量的问题

0 comments on commit 08f0129

Please sign in to comment.