mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-27 04:46:13 +00:00
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