Compare commits

...

2 Commits

Author SHA1 Message Date
11a9a4a929 🚀 Launch bug hotfix cli 2024-10-03 15:31:34 +08:00
2481d2b616 🐛 Fix cd with asterisk 2024-10-03 15:21:01 +08:00
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "roadsign-cli", "name": "roadsign-cli",
"module": "index.ts", "module": "index.ts",
"version": "1.0.0", "version": "1.0.1",
"repository": "https://github.com/solsynth/roadsign", "repository": "https://github.com/solsynth/roadsign",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -34,3 +34,4 @@
"ora": "^8.1.0" "ora": "^8.1.0"
} }
} }

View File

@ -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`)