@0x/contracts-exchange-libs
: Make generate-exchange-selectors
terminate file with a newline.
This commit is contained in:
parent
7c0f075d1f
commit
14167412e0
@ -147,4 +147,4 @@ contract LibExchangeSelectors {
|
||||
|
||||
// VERSION()
|
||||
bytes4 constant internal VERSION_SELECTOR = 0xffa1ad74;
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ const VISIBILITY = 'internal';
|
||||
);
|
||||
const contractDefinition = defineContract(contractName, functionsByName);
|
||||
const preamble = extractOutputFilePreamble(outputFile);
|
||||
const outputFileContents = `${preamble}${contractDefinition}`;
|
||||
const outputFileContents = `${preamble}${contractDefinition}${LINEBREAK}`;
|
||||
fs.writeFileSync(outputFile, outputFileContents);
|
||||
console.log(`Wrote exchange selectors to "${path.resolve(outputFile)}."`);
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user