Add Object.freeze on private enums
Improve code readability
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
var InspectionDecision = {
|
||||
var InspectionDecision = Object.freeze({
|
||||
DoNothing: 'doNothing',
|
||||
EndOperation: 'endOperation',
|
||||
Retry: 'retry',
|
||||
Reconnect: 'reconnect',
|
||||
Subscribed: 'subscribed'
|
||||
};
|
||||
});
|
||||
|
||||
module.exports = InspectionDecision;
|
Reference in New Issue
Block a user