Permalink
Browse files

Force the project name to a string or path.resolve will ignore it later.

Without this exports with only digits in their name cannot be exported
  • Loading branch information...
1 parent ab11933 commit 430cbc36759e767e75a39cb4891c3fac36ce0409 @ryansname committed Jan 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 commands/export.bones
View
@@ -104,7 +104,7 @@ command.prototype.initialize = function(plugin, callback) {
if (process.env.tilemillConfig)
_(opts).extend(JSON.parse(process.env.tilemillConfig));
opts.files = path.resolve(opts.files);
- opts.project = plugin.argv._[1];
+ opts.project = plugin.argv._[1].toString();
var export_filename = plugin.argv._[2];
if (!export_filename) return plugin.help();
opts.filepath = path.resolve(export_filename.replace(/^~/,process.env.HOME));

0 comments on commit 430cbc3

Please sign in to comment.