aboutsummaryrefslogtreecommitdiffstats
path: root/solc
diff options
context:
space:
mode:
authorliangdzou <liang.d.zou@gmail.com>2018-09-19 00:04:11 +0800
committerliangdzou <liang.d.zou@gmail.com>2018-09-19 00:18:49 +0800
commit24e5dcc352e9ce9569138dfa5af96fbf72ad3604 (patch)
tree120d53d90a32122485ada000bcebe4f3a0795c3c /solc
parentc42dfc5b1083a0d49c64a6e3cbe2d3f220d1f519 (diff)
downloaddexon-solidity-24e5dcc352e9ce9569138dfa5af96fbf72ad3604.tar.gz
dexon-solidity-24e5dcc352e9ce9569138dfa5af96fbf72ad3604.tar.zst
dexon-solidity-24e5dcc352e9ce9569138dfa5af96fbf72ad3604.zip
fix code format problems
Diffstat (limited to 'solc')
-rw-r--r--solc/CommandLineInterface.cpp3
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);