fix(core): update

This commit is contained in:
2019-08-27 18:46:03 +02:00
parent fa16aaa2c1
commit 1372a2bb7e
5 changed files with 4 additions and 5 deletions

View File

@ -23,7 +23,7 @@ const installExec = async (packageNames: string[]) => {
};
const packageLibrary = plugins.smartfile.fs.toObjectSync(
plugins.path.join(paths.packageBase, 'package_library.json')
plugins.path.join(paths.assetsDir, 'package_library.json')
);
export const install = async (packageSetArg: string) => {

View File

@ -1,3 +1,4 @@
import plugins = require('./tools.plugins');
export const packageBase = plugins.path.join(__dirname, '../');
export const assetsDir = plugins.path.join(packageBase, './assets');