Skip to content

Promise not handled correctly resulting in wrong output file #3

@zontafil

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

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