This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new b0de2318 fix(node-18): hook tests (#916)
b0de2318 is described below

commit b0de23184b0ce286b7c8133d0ca9d43a865ce6cd
Author: Darryl Pogue <[email protected]>
AuthorDate: Wed Apr 19 07:34:23 2023 -0700

    fix(node-18): hook tests (#916)
    
    * Try fixing node18 hook tests
    * Update appBeforeBuild1.sh
    * Update appAndroidBeforeBuild.sh
---
 .../fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh       | 3 ++-
 spec/cordova/fixtures/projectHooks/android/appAndroidBeforeBuild.sh    | 3 ++-
 spec/cordova/fixtures/projectHooks/appBeforeBuild1.sh                  | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh 
b/spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
index 5698c117..1acabd1a 100755
--- a/spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
+++ b/spec/cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
@@ -1 +1,2 @@
-echo 22 >> hooks_order.txt
\ No newline at end of file
+#!/bin/sh
+echo 22 >> hooks_order.txt
diff --git 
a/spec/cordova/fixtures/projectHooks/android/appAndroidBeforeBuild.sh 
b/spec/cordova/fixtures/projectHooks/android/appAndroidBeforeBuild.sh
index 34f9b56e..cffbdfdd 100755
--- a/spec/cordova/fixtures/projectHooks/android/appAndroidBeforeBuild.sh
+++ b/spec/cordova/fixtures/projectHooks/android/appAndroidBeforeBuild.sh
@@ -1 +1,2 @@
-echo 14 >> hooks_order.txt
\ No newline at end of file
+#!/bin/sh
+echo 14 >> hooks_order.txt
diff --git a/spec/cordova/fixtures/projectHooks/appBeforeBuild1.sh 
b/spec/cordova/fixtures/projectHooks/appBeforeBuild1.sh
index 03793d84..cc470f79 100755
--- a/spec/cordova/fixtures/projectHooks/appBeforeBuild1.sh
+++ b/spec/cordova/fixtures/projectHooks/appBeforeBuild1.sh
@@ -1 +1,2 @@
-echo 08 >> hooks_order.txt
\ No newline at end of file
+#!/bin/sh
+echo 08 >> hooks_order.txt


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to