Compare commits
2 Commits
35612d2f18
...
11a9a4a929
Author | SHA1 | Date | |
---|---|---|---|
11a9a4a929 | |||
2481d2b616 |
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user