Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
spdx-correct
/
README.md
1
```javascript
2
var correct = require('spdx-correct');
3
var assert = require('assert');
4
5
assert.equal(correct('mit'), 'MIT')
6
7
assert.equal(correct('Apache 2'), 'Apache-2.0')
8
9
assert(correct('No idea what license') === null)
10
```