hexo/node_modules/is-docker/cli.js

6 lines
105 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
#!/usr/bin/env node
'use strict';
const isDocker = require('.');
process.exitCode = isDocker() ? 0 : 2;