lib/commands/reset.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 11
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 11
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A module.exports 0 7 1
1
'use strict'
2
3
const Container = require('../containers/Container')
4
5
module.exports = function () {
6
  // Check if we need to upgrade the project
7
  Container.performUpgrade()
8
9
  // Remove default container config
10
  Container.clean()
11
}
12