fix(core): update

This commit is contained in:
2019-07-17 11:48:31 +02:00
parent 8b85b6c8bc
commit 4cb6aa03e6
19 changed files with 1639 additions and 252 deletions

View File

@ -12,7 +12,7 @@ export class SshConfig {
* stores a config file
*/
store(dirPathArg: string) {
let done = plugins.q.defer();
let done = plugins.smartpromise.defer();
let configArray: configObject[] = [];
let configString;
for (let key in this._sshKeyArray) {
@ -45,7 +45,7 @@ export class SshConfig {
return done.promise;
}
read(dirPathArg) {
let done = plugins.q.defer();
let done = plugins.smartpromise.defer();
let configArray: configObject[];
plugins.smartfile.fs.toStringSync(plugins.path.join(dirPathArg, 'config'));

View File

@ -1,10 +1,10 @@
import * as fs from 'fs-extra';
import * as minimatch from 'minimatch';
import * as path from 'path';
import * as q from '@pushrocks/smartpromise';
import * as smartpromise from '@pushrocks/smartpromise';
import * as shelljs from '@pushrocks/smartshell';
import * as smartfile from '@pushrocks/smartfile';
import * as smartpath from '@pushrocks/smartpath';
import * as smartstring from '@pushrocks/smartstring';
export { fs, minimatch, path, q, shelljs, smartfile, smartpath, smartstring };
export { fs, minimatch, path, smartpromise, shelljs, smartfile, smartpath, smartstring };