</BUG>
return buildRepository(token, EMPTY_CONFIG);
}
@Override
<BUG>public CmrRepository buildRepository(String token, RepositoryBuilderConfig config) throws Exception {
</BUG>
if (token.equals("npm:") || token.equals("npm:/#")) {
return createNpmRepository("npm:", config.log, config.offline, config.currentDirectory);
} else if (token.startsWith("npm:")) {
return createNpmRepository(token, config.log, config.offline, config.currentDirectory);

} else {
return null;
}
}
@Override
public CmrRepository[] buildRepository(String token) throws Exception {
return buildRepository(token, EMPTY_CONFIG);
}
@Override
public CmrRepository[] buildRepository(String token, RepositoryBuilderConfig config) throws Exception {
if (token.equals("npm:") || token.equals("npm:/#")) {
return createNpmRepository("npm:", config.log, config.offline, config.currentDirectory);
} else if (token.startsWith("npm:")) {
return createNpmRepository(token, config.log, config.offline, config.currentDirectory);
