Skip to content

Commit

Permalink
fix(test): Fixed version generating script to conform to lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed Jan 8, 2019
1 parent 531f989 commit 7a5259a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { resolve } from "path";
// tslint:disable-next-line
const { version } = require( "../package.json" );

const fileData = `export const version = "${version}";`;
const fileData = `export const version = "${version}";\n`;

writeFileSync( resolve( __dirname, "../lib/generated/version.ts" ), fileData );

0 comments on commit 7a5259a

Please sign in to comment.