fix(core): update
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import * as plugins from './projectinfo.plugins.js'
|
||||
import * as plugins from './projectinfo.plugins.js';
|
||||
|
||||
// direct access to classes
|
||||
export * from './projectinfo.classes.git.js';
|
||||
@ -13,7 +13,7 @@ import { ProjectinfoNpm } from './projectinfo.classes.npm.js';
|
||||
/**
|
||||
* gets the name from package.json in a specified directory
|
||||
*/
|
||||
export let getNpmNameForDir = function(cwdArg) {
|
||||
export let getNpmNameForDir = function (cwdArg) {
|
||||
let localNpm = new ProjectinfoNpm(cwdArg);
|
||||
if (localNpm.status === 'ok') {
|
||||
return localNpm.name;
|
||||
|
Reference in New Issue
Block a user