🐛 Fix cd with asterisk
This commit is contained in:
parent
35612d2f18
commit
2481d2b616
@ -41,8 +41,6 @@ export class DeployCommand extends Command {
|
|||||||
|
|
||||||
let isDirectory = false
|
let isDirectory = false
|
||||||
if (fs.statSync(input).isDirectory()) {
|
if (fs.statSync(input).isDirectory()) {
|
||||||
input = path.join(input, "*")
|
|
||||||
|
|
||||||
const compressPrefStart = performance.now()
|
const compressPrefStart = performance.now()
|
||||||
const compressSpinner = ora(`Compressing ${chalk.bold(input)}...`).start()
|
const compressSpinner = ora(`Compressing ${chalk.bold(input)}...`).start()
|
||||||
const destName = path.join(os.tmpdir(), `${Date.now()}-roadsign-archive.zip`)
|
const destName = path.join(os.tmpdir(), `${Date.now()}-roadsign-archive.zip`)
|
||||||
|
Loading…
Reference in New Issue
Block a user