436cad0326
Test Plan: Add `console.log(require("../../app/version").VERSION_SHORT);` to the top of `async run()` in `src/cli/commands/load.js`. Run `yarn backend` and `node bin/sourcecred.js load`, and note that it prints the current version number. Before this change, it would have raised an error: ``` Error: gitState: not a string: undefined at parseGitState (~/git/sourcecred/bin/commands/load.js:1160:64) ``` because the requisite environment variables were not included. Also, `yarn test --full` passes. wchargin-branch: backend-env |
||
---|---|---|
.. | ||
jest | ||
RemoveBuildDirectoryPlugin.js | ||
babel.js | ||
env.js | ||
makeWebpackConfig.js | ||
paths.js | ||
polyfills.js | ||
test.js | ||
webpack.config.backend.js |