@abcnews/aunty 13.1.1 → 13.1.2
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/package.json +1 -1
- package/src/cli/deploy/index.js +3 -3
package/package.json
CHANGED
package/src/cli/deploy/index.js
CHANGED
|
@@ -19,8 +19,7 @@ const { dry, info, spin, warn, log, error } = require('../../utils/logging');
|
|
|
19
19
|
const { ftp, rsync } = require('../../utils/remote');
|
|
20
20
|
const { combine } = require('../../utils/structures');
|
|
21
21
|
const { DEFAULTS, MESSAGES, VALID_TYPES } = require('./constants');
|
|
22
|
-
const { dim, opt } = require('../../utils/color');
|
|
23
|
-
const { check } = require('prettier');
|
|
22
|
+
const { dim, opt, hvy, req } = require('../../utils/color');
|
|
24
23
|
|
|
25
24
|
module.exports = command(
|
|
26
25
|
{
|
|
@@ -103,7 +102,8 @@ module.exports = command(
|
|
|
103
102
|
error('An FTP error ocurred');
|
|
104
103
|
}
|
|
105
104
|
} else {
|
|
106
|
-
warn('Destination directory exists
|
|
105
|
+
warn('Destination directory exists. OK to overwrite?');
|
|
106
|
+
log(` ┗ ${hvy('dir')}: ${req(to)}`);
|
|
107
107
|
|
|
108
108
|
const overwriteSelection = (
|
|
109
109
|
await cliSelect({
|