Skip to content

Promise not handled correctly resulting in wrong output file #3

Open

Description

@zontafil

Hello,

I'm trying nativescript + angular2 + jade plugin.

The xml file is not rendered at the correct time. I think that the file is empty when the xml parser is run.

Using

			fs.writeFileSync(xmlFilePath, xmlContent, 'utf8', function (err) {
				if (err) reject(err);
				else resolve();
			});

on line 32 fixes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions