1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-10-30 06:13:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Revert fs-extra

This commit is contained in:
sunnylqm
2020-05-30 12:58:34 +08:00
parent aa5fd4b4b1
commit 3a9bf67703
4 changed files with 59 additions and 221 deletions

View File

@@ -2,7 +2,7 @@
* Created by tdzl2003 on 2/13/16.
*/
import fs from 'fs';
import fs from 'fs-extra';
import os from 'os';
import path from 'path';
const pkg = require('../../package.json');
@@ -114,7 +114,7 @@ export async function getIpaInfo(fn) {
}
const localDir = path.resolve(os.homedir(), '.pushy');
fs.mkdir(localDir, () => {});
fs.ensureDirSync(localDir);
export function saveToLocal(originPath, destName) {
// TODO
// const destPath = path.join(localDir, destName);