remove @types/shelljs
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
import shelljs = require("shelljs");
|
||||
let shelljs = require("shelljs");
|
||||
import beautylog = require("beautylog");
|
@ -1,4 +1,3 @@
|
||||
import "typings-global"
|
||||
import plugins = require("./smartgit.plugins");
|
||||
import SmartgitCheck = require("./smartgit.check");
|
||||
|
||||
@ -11,7 +10,7 @@ export let clone = (optionsArg: {
|
||||
}) => {
|
||||
let done = plugins.Q.defer();
|
||||
plugins.smartfile.fs.ensureDir(optionsArg.to);
|
||||
plugins.shelljs.exec(`cd ${optionsArg.to} && git clone ${optionsArg.from} .`);
|
||||
plugins.shelljs.exec(`git clone ${optionsArg.from} ${optionsArg.to}`);
|
||||
done.resolve();
|
||||
return done.promise;
|
||||
};
|
||||
|
@ -1,4 +1,3 @@
|
||||
import "typings-global"
|
||||
import plugins = require("./smartgit.plugins");
|
||||
|
||||
export = function(pathArg:string,commitMessage:string) {
|
||||
|
@ -1,4 +1,3 @@
|
||||
import "typings-global"
|
||||
import plugins = require("./smartgit.plugins");
|
||||
|
||||
export = function(){
|
||||
|
@ -1 +0,0 @@
|
||||
import "typings-global"
|
@ -1,4 +1,4 @@
|
||||
import "typings-global"
|
||||
import "typings-global";
|
||||
|
||||
export import path = require("path");
|
||||
export import beautylog = require("beautylog");
|
||||
|
Reference in New Issue
Block a user