-
-
Notifications
You must be signed in to change notification settings - Fork 9
Add exportMap #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add exportMap #43
Conversation
6381baa
to
2db6b99
Compare
lib/services/importMap/utils.js
Outdated
@@ -185,4 +231,7 @@ module.exports = (config) => { | |||
|
|||
config.utils.importMapFile._help = | |||
'importMapFile(filePath) - import a map from a json file' | |||
|
|||
config.utils.exportMap._help = | |||
'exportMapFile(filePath) - export the map to a json file' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This did not match the signature used above
@@ -177,6 +220,9 @@ module.exports = (config) => { | |||
const rooms = await getMapFromFile(filePath) | |||
await loadRooms(config, filePath, rooms) | |||
return logFinish() | |||
}, | |||
async exportMap () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This signature doesn't match the help text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, I took that out because it felt easier to just dump into the asset directory. I'll remove that.
2db6b99
to
18271c8
Compare
No description provided.