mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-18 08:13:39 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
24
node_modules/listr/lib/state.js
generated
vendored
Normal file
24
node_modules/listr/lib/state.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
'use strict';
|
||||
const state = {
|
||||
PENDING: 0,
|
||||
COMPLETED: 1,
|
||||
FAILED: 2,
|
||||
SKIPPED: 3
|
||||
};
|
||||
|
||||
state.toString = input => {
|
||||
switch (input) {
|
||||
case state.PENDING:
|
||||
return 'pending';
|
||||
case state.COMPLETED:
|
||||
return 'completed';
|
||||
case state.FAILED:
|
||||
return 'failed';
|
||||
case state.SKIPPED:
|
||||
return 'skipped';
|
||||
default:
|
||||
return 'unknown';
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = state;
|
||||
Reference in New Issue
Block a user