Is bash necessary for executing the build command?
$ netlify build --context=development --debug
┌─────────────────────────────┐
│ Netlify Build │
└─────────────────────────────┘
❯ Version
@netlify/build 3.3.5
❯ Flags
mode: cli
❯ Current directory
/mnt/app
❯ Config file
/mnt/app/netlify.toml
❯ Context
development
┌────────────────────────────────────┐
│ 1. build.command from netlify.toml │
└────────────────────────────────────┘
$ echo testCommand
┌─────────────────────────────┐
│ "build.command" failed │
└─────────────────────────────┘
Error message
Command failed with ENOENT: echo testCommand
spawn bash ENOENT
Error location
In build.command from netlify.toml:
echo testCommand
Resolved config
build:
command: echo testCommand
commandOrigin: config
environment: ...
Expected:
|
await runBuildCommand(t, builder.directory, { output: 'testCommand' }) |
Is bash necessary for executing the build command?
Expected:
cli/tests/command.build.test.js
Line 34 in 21a0656