hexo/node_modules/is-docker/cli.js

6 lines
110 B
JavaScript

#!/usr/bin/env node
'use strict';
const isDocker = require('.');
process.exitCode = isDocker() ? 0 : 2;