Skip to content

Instantly share code, notes, and snippets.

@dikarel
Last active March 25, 2022 21:52
Show Gist options
  • Save dikarel/759a34cc559937180f837a997d89288a to your computer and use it in GitHub Desktop.
Save dikarel/759a34cc559937180f837a997d89288a to your computer and use it in GitHub Desktop.
// Download: go/codemod-tutorial
import { Project, SourceFile, SyntaxKind } from "ts-morph";
import { execFileSync } from "child_process";
const main = () => {
// Clean up this feature flag
cleanFeatureFlag("cnc_it_add_on");
};
const cleanFeatureFlag = (flagName: string): void => {
// TODO: Implement me
}
main();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment