Skip to content

Commit

Permalink
Merge pull request #20 from hatappo/export-shittify-function
Browse files Browse the repository at this point in the history
export `shittify` function in index.ts
  • Loading branch information
rohitdhas authored May 12, 2024
2 parents c61b443 + e45c642 commit 08baada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
addRandomWhiteSpace,
} from './utils/cst-formatter/white-space';

function shittify(code: string) {
export function shittify(code: string) {
const modifiedCode = addInconsistentIndentation(code);
const cst = new Parser().parse(modifiedCode);
randomizeCase(cst);
Expand Down

0 comments on commit 08baada

Please sign in to comment.