mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(put) add msg, baseName
This commit is contained in:
parent
039fcbb62f
commit
176f87205e
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@
|
|||
}
|
||||
|
||||
function patchFile(name, patch, func) {
|
||||
var msg,
|
||||
baseName = path.basename(name);
|
||||
|
||||
fs.readFile(name, 'utf8', read);
|
||||
|
||||
function read(error, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue