x3d-tidy 1.0.63 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/publish.pl CHANGED
@@ -12,7 +12,7 @@ if (`git branch --show-current` ne "development\n")
12
12
  }
13
13
 
14
14
  system "git", "checkout", "main";
15
- system "git", "merge", "developement";
15
+ system "git", "merge", "development";
16
16
 
17
17
  my $version = `npm pkg get version | sed 's/"//g'`;
18
18
  chomp $version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-tidy",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "X3D Converter, Beautifier and Minimizer",
5
5
  "bin": {
6
6
  "x3d-tidy": "bin/x3d-tidy.js"
package/src/convert.js CHANGED
@@ -132,7 +132,7 @@ async function convert (argv)
132
132
 
133
133
  if (args .output)
134
134
  {
135
- const output = path .resolve (process .cwd (), args .output)
135
+ const output = path .resolve (args .cwd || process .cwd (), args .output)
136
136
 
137
137
  if (path .extname (output))
138
138
  fs .writeFileSync (output, getContents ({ ...options, type: path .extname (output) }))