Skip to content
Snippets Groups Projects
Commit e83e3bfd authored by Justin Berstler's avatar Justin Berstler Committed by Rodric Rabbah
Browse files

Warn users against the dangers of using Windows Explorer's zip action.

Using the Windows Explorer method of creating zip actions results in an incorrect zip structure. OW requires that package.json be found at the root of the zip, while the Explorer action insists on putting everything inside a top-level folder inside the zip.

Return an explicit error when package.json is not found at the root of a zipped action.
parent 30f82603
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,7 @@ class NodeJsActionContainerTests extends BasicActionRunnerTests with WskActorSys
checkStreams(out, err, {
case (o, e) =>
(o + e).toLowerCase should include("error")
(o + e).toLowerCase should include("module_not_found")
(o + e).toLowerCase should include("package.json must be located at the root of a zipped action")
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment