We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f219da commit e1ed77cCopy full SHA for e1ed77c
build/prepare.js
@@ -43,7 +43,8 @@ async function build() {
43
44
// new ls
45
if (args[2].endsWith('.tar.gz')) {
46
- await decompress(`temp/${args[2]}`, 'server/', { plugins: [decompressTargz()] });
+ let name = args[2].substring(0, args[2].length - 7);
47
+ await decompress(`temp/${args[2]}`, `server/${name}/`, { plugins: [decompressTargz()] });
48
} else {
49
await decompress(`temp/${args[2]}`, 'server/');
50
}
0 commit comments