mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint: no-multi-spaces
This commit is contained in:
parent
d3ecafe0ea
commit
62e2ca2a64
28 changed files with 78 additions and 72 deletions
|
|
@ -42,7 +42,7 @@ module.exports = (request, response, next) => {
|
|||
|
||||
function rest(request, response) {
|
||||
const name = ponse.getPathName(request);
|
||||
const params = {
|
||||
const params = {
|
||||
request,
|
||||
response,
|
||||
name: name.replace(apiURL, '') || '/',
|
||||
|
|
@ -194,8 +194,8 @@ function onPUT(name, body, callback) {
|
|||
if (isRootAll([files.to, files.from]))
|
||||
return callback(getWin32RootMsg());
|
||||
|
||||
files.from = root(files.from);
|
||||
files.to = root(files.to);
|
||||
files.from = root(files.from);
|
||||
files.to = root(files.to);
|
||||
|
||||
copy(files.from, files.to, files.names, (error) => {
|
||||
const msg = formatMsg('copy', files.names);
|
||||
|
|
@ -262,8 +262,8 @@ function getPacker(operation) {
|
|||
|
||||
function operation(op, from, to, names, fn) {
|
||||
if (!fn) {
|
||||
fn = names;
|
||||
names = [
|
||||
fn = names;
|
||||
names = [
|
||||
path.basename(from),
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue