Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
minor improvement in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Zeug committed Jan 27, 2017
1 parent 90c6f63 commit 646bfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/preloader/include/mistAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = () => {
ipcRenderer.send('mistAPI_requestAccount');
},
solidity: {
version: String(packageJson.dependencies.solc).match(/\d+.\d+.\d+/)[0],
version: String(packageJson.dependencies.solc).match(/\d+\.\d+\.\d+/)[0],
},
sounds: {
bip: function playSound() {
Expand Down

0 comments on commit 646bfc9

Please # to comment.