Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tiennou
Copy link
Contributor

@tiennou tiennou commented Mar 17, 2025

No description provided.

@tiennou tiennou force-pushed the feature/map-export branch 2 times, most recently from 6381baa to 2db6b99 Compare March 17, 2025 04:55
@@ -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'
Copy link
Member

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 () {
Copy link
Member

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

Copy link
Contributor Author

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.

@tiennou tiennou force-pushed the feature/map-export branch from 2db6b99 to 18271c8 Compare March 18, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants