diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-19 04:10:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 04:10:03 +0800 |
commit | 37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4 (patch) | |
tree | 2d80cd08445747ab4fb5a0b197df60fbeb4b5e6e /solc/CommandLineInterface.cpp | |
parent | 233a522707939431feda453aacbdf126028493ce (diff) | |
parent | 24e5dcc352e9ce9569138dfa5af96fbf72ad3604 (diff) | |
download | dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar.gz dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar.bz2 dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar.lz dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar.xz dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.tar.zst dexon-solidity-37fa0c85ecfb459d5cdef5309ca2327e8a8d00c4.zip |
Merge pull request #5010 from liangdzou/code_format_problems
fix code format problems
Diffstat (limited to 'solc/CommandLineInterface.cpp')
-rw-r--r-- | solc/CommandLineInterface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index f7d1c748..a43e789e 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -742,7 +742,8 @@ bool CommandLineInterface::processInput() // path will have it's last component set to '.'. This breaks // path comparison in later parts of the code, so we need to strip // it. - if (filesystem_path.filename() == ".") { + if (filesystem_path.filename() == ".") + { filesystem_path.remove_filename(); } m_allowedDirectories.push_back(filesystem_path); |