use of org.eclipse.n4js.binaries.nodejs.NpmBinary in project n4js by eclipse.
the class NpmManager method checkNPM.
/**
* Checks the npm binary.
*/
private IStatus checkNPM() {
final NpmBinary npmBinary = npmBinaryProvider.get();
final IStatus npmBinaryStatus = npmBinary.validate();
if (!npmBinaryStatus.isOK()) {
return statusHelper.createError("npm binary invalid", new IllegalBinaryStateException(npmBinary, npmBinaryStatus));
}
return statusHelper.OK();
}
Aggregations