Skip to content

Commit

Permalink
feat: removing MESSAGE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mbittarelli6river committed Feb 13, 2020
1 parent 2bcfca5 commit 834c972
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/ros_msg_utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ module.exports = {
Find: MessageCache.Find,
CMAKE_PREFIX_PATH: MessageCache.CMAKE_PREFIX_PATH,
CMAKE_PATHS: MessageCache.CMAKE_PATHS,
MESSAGE_PATH: MessageCache.MESSAGE_PATH,
packageMap: MessageCache.packageMap
};
1 change: 0 additions & 1 deletion src/ros_msg_utils/lib/message_cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,5 @@ module.exports = {

CMAKE_PREFIX_PATH,
CMAKE_PATHS: cmakePaths,
MESSAGE_PATH: jsMsgPath,
packageMap: Object.assign({}, packagePaths)
};
2 changes: 1 addition & 1 deletion src/utils/message_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function copyFile(from, to, replaceCallback) {

let MessageUtils = {
getTopLevelMessageDirectory() {
return path.join(ros_msg_utils.CMAKE_PATHS[0], ros_msg_utils.MESSAGE_PATH);
return ros_msg_utils.CMAKE_PATHS[0];
},

flatten(outputDir) {
Expand Down

0 comments on commit 834c972

Please sign in to comment.