Skip to content

chore: change " => ' in .ts files #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2018
Merged

chore: change " => ' in .ts files #80

merged 4 commits into from
Aug 20, 2018

Conversation

sebawita
Copy link
Contributor

No description provided.

src/utils.ts Outdated
@@ -153,34 +153,33 @@ export const renameFilesForce = (paths: FromTo[]) =>
tree.delete(from);
});

export function createEmptyNsOnlyProject(projectName: string, extension: string = ''): UnitTestTree {
let appTree = schematicRunner.runSchematic("angular-json", { name: projectName, sourceRoot: "src" });
export function createEmptyNsOnlyProject(projectName: string): UnitTestTree {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you removed the extension argument by accident. Can you get it back? It's used a few lines below.

src/utils.ts Outdated

appTree = createAppModule(<any>appTree, `/src/app/app.module${extension}.ts`);
appTree = createAppModule(<any>appTree, `/src/app/app.module.ts`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extension should be used here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sis0k0 sis0k0 changed the title Fix formatting (" => ') and fix ..tns files from the master-detail template chore: change " => ' in .ts files Aug 20, 2018
@sis0k0 sis0k0 merged commit 94a56ec into NativeScript:master Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants